Re: Core Animation warning?

2013-12-04 Thread John Joyce
On Dec 3, 2013, at 10:23 PM, Graham Cox graham@bigpond.com wrote: I’m seeing quite a few of these being logged: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces. I’m not directly using Core Animation

Re: nextKeyView order is ignored after loading into NSTabView

2013-12-04 Thread Steve Mills
On Dec 4, 2013, at 01:50:22, Kyle Sluder k...@ksluder.com wrote: As far as the tab view goes, the tab view mucks with the key view loop of the to-be-selected item's view whenever its current tab item changes. If the initial first responder is set then it works as you expect, *except* that the

Re: Core Animation warning?

2013-12-04 Thread Kyle Sluder
On Dec 3, 2013, at 5:23 AM, Graham Cox graham@bigpond.com wrote: I’m seeing quite a few of these being logged: CoreAnimation: warning, deleted thread with uncommitted CATransaction; set CA_DEBUG_TRANSACTIONS=1 in environment to log backtraces. I’m not directly using Core Animation

Re: +keyPathsForValuesAffectingFoo via outlet makes Cocoa Bindings burp

2013-12-04 Thread Jerry Krinock
Thank you, Quincey. Yes, it makes sense that an outlet would not be KVO compliant, and I don’t want to mess around with their magic memory management, so I’ll just stick with the solution I have (using manual bindings). I’d never worried about requiring the path components returned in

Re: NSStackView basics

2013-12-04 Thread jonat...@mugginsoft.com
Prompted by this I took a look at NSStackView. Documentation is limited to header comments and some WWDC session coverage. However, the class will be very useful for composing dynamic layouts. It behaves pretty much like its WPF equivalent StackPanel. One notable difference is that StackPanel

Threaded drawing

2013-12-04 Thread Graham Cox
Another question of a general nature. NSView has -setCanDrawConcurrently, which, when you also permit this at the window level, will handle its -drawRect refreshes on a background thread. I’ve been experimenting with this to see if it yields any worthwhile gains, but it doesn’t appear so -

Re: Threaded drawing

2013-12-04 Thread Sean McBride
On Wed, 4 Dec 2013 21:33:16 +0100, Graham Cox said: NSView has -setCanDrawConcurrently, which, when you also permit this at the window level, will handle its -drawRect refreshes on a background thread. I’ve been experimenting with this to see if it yields any worthwhile gains, I looked into to

Autolayout Greedy Fill question

2013-12-04 Thread Luther Baker
Given the following controls: lastName = text field gender = segmented control picture = image view and given the following layout string: @V:|-[lastName]-[gender]-[picture]-|; I'd like to make sure that the lastName and gender controls are sized tightly and allows the picture

Re: Autolayout Greedy Fill question

2013-12-04 Thread Charles Srstka
On Dec 4, 2013, at 5:27 PM, Luther Baker lutherba...@gmail.com wrote: Given the following controls: lastName = text field gender = segmented control picture = image view and given the following layout string: @V:|-[lastName]-[gender]-[picture]-|; I'd like to make sure

Re: Autolayout Greedy Fill question

2013-12-04 Thread Luther Baker
Yes! Along with content edge insets and compression resistance, I'm now getting the behavior I was looking for. Thank you! On Wed, Dec 4, 2013 at 5:37 PM, Charles Srstka cocoa...@charlessoft.comwrote: On Dec 4, 2013, at 5:27 PM, Luther Baker lutherba...@gmail.com wrote: Given the