Re: NSWindow not redrawing subviews

2017-01-06 Thread Ken Thomases
On Jan 7, 2017, at 12:59 AM, Tamas Nagy wrote: > > This is a video mixer app. There are multiple windows for controlling layers, > effects, etc. Rendering is done on a CVDisplayLink thread by OpenGL. Whenever > I need to update something on the UI from that

Re: NSWindow not redrawing subviews

2017-01-06 Thread Tamas Nagy
Hi Ken, > > You say you're calling -setNeedsDisplay: on the main thread, but other than > that, what do you mean by "multi-thread, multi-window app"? Are you doing > _any_ GUI manipulation from background threads? If so, what? This is a video mixer app. There are multiple windows for

Re: NSWindow not redrawing subviews

2017-01-06 Thread Ken Thomases
On Jan 6, 2017, at 10:14 AM, Tamas Nagy wrote: > > I ran into an issues with a multi-thread, multi-window app, where one or more > windows stop displaying after a while. […] > And by saying a window stop displaying I mean there are subviews that has > been marked to

Re: AVSimplePlayer in Swift?

2017-01-06 Thread Charles Srstka
> On Jan 6, 2017, at 9:32 PM, Charles Jenkins wrote: > > - If I imitate the ObjC version and try to do the bindings in IB, the > time slider’s maxValue and value bindings don’t work (won’t compile) > because duration and currentTime are not NSNumbers. They don’t have to

AVSimplePlayer in Swift?

2017-01-06 Thread Charles Jenkins
Has anyone recoded Apple's AVSimplePlayer example in Swift? I’m trying to do that in order to get some AVFoundation experience in Swift, and I’m having a bit of trouble. I can’t figure out how to do the bindings to currentTime and duration. - If I do them the easy way, using didSet clause,

UICollectionView cells sometimes drawn on top of section header

2017-01-06 Thread Steve Christensen
iOS 10. I'm seeing some odd behavior where occasionally collection view cells are drawn on top of their section header view instead of behind it. When I use the view inspector in Xcode then I do, in fact, see the cells in front of the section header. These are pretty generic cells that

NSWindow not redrawing subviews

2017-01-06 Thread Tamas Nagy
Hi List, I ran into an issues with a multi-thread, multi-window app, where one or more windows stop displaying after a while. This happens rarely and on 10.10.5 - at least I was not able to reproduce the problem anywhere else. And by saying a window stop displaying I mean there are subviews