NSComboBox and sorted list

2014-04-18 Thread Frédéric Testuz
Hello, I have a typical CoreData application which display my entities in an NSTableView with an NSArrayController and a panel to edit the selected item. I have an entity Book with a NSString attribute type displayed in an NSComboBox. I want the drop down list of the combo box to display the

Re: Layout-triggered animation

2014-04-18 Thread Jakob Egger
Hi Julian, The jittering is probably a result of misusing the animator proxy! The animator proxy is used when you want to directly change properties, for example the frame of a view, or the alpha value. When you use autolayout, the frame will be set by the view's layout method, which does not

cocoapods: Problem with loading nib for a NSWindowController

2014-04-18 Thread Colas
Dear cocoa-dev, I have troubles including resource in my pod. I wanted to know if you have some advice to give. Here is my situation 1) I have a pod with a .xib file (I wrote the pod) Here is the podspec : Pod::Spec.new do |s| s.name = MyCBD_BSManagedDocument s.requires_arc =

Re: cocoapods: Problem with loading nib for a NSWindowController

2014-04-18 Thread Quincey Morris
On Apr 18, 2014, at 06:32 , Colas colasj...@yahoo.fr wrote: — in my real project, I have an error : -[MyCBDLockManager loadWindow]: failed to load window nib file 'MyCBDLockManager’. In regards to CocoaPods issues, this list isn’t the place to ask. In regards to nib-loading issues: — Check

Re: cocoapods: Problem with loading nib for a NSWindowController

2014-04-18 Thread Gerd Knops
Dangerous (and entirely wrong) assumption. On Apr 18, 2014, at 12:07 PM, Quincey Morris quinceymor...@rivergatesoftware.com wrote: — Check the capitalization of your XIB file name. It’s possible that case matters to nib loading, even though the Mac file system is case insensitive.

Re: cocoapods: Problem with loading nib for a NSWindowController

2014-04-18 Thread Fritz Anderson
To be less Hermetic… case-sensitivity has been an option in HFS+ installation for many, many years. I think you’d be ill-advised to pick it, as I am confident that there is a large codebase that inadvertently depends on case-insensitivity. (That is, the developer sometimes opened Polish.dat,

Re: cocoapods: Problem with loading nib for a NSWindowController

2014-04-18 Thread Fritz Anderson
Oh, also, HFS+ is case-sensitive in iOS, lacking NSWindowController though it be. (Is it HFS+? I’m too eager to get out the door for me to check.) — F On 18 Apr 2014, at 5:30 PM, Fritz Anderson fri...@manoverboard.org wrote: To be less Hermetic… case-sensitivity has been an option

Detecting screen capture in progress

2014-04-18 Thread David Catmull
How can I detect when a screen shot selection (cmd-shift-4) is in progress? I have a custom window that I’m trying to make behave like a menu (it comes out of a status item). Part of this behavior is dismissing it when the user clicks on something else, which I detect using a CGEventTap. One

Re: cocoapods: Problem with loading nib for a NSWindowController

2014-04-18 Thread Quincey Morris
On Apr 18, 2014, at 14:14 , Gerd Knops gerti-cocoa...@bitart.com wrote: Dangerous (and entirely wrong) assumption. I know perfectly well that Mac HFS+ can be made case sensitive, so perhaps I should have worded it better: “…even *when* the Mac file system is case insensitive.” However, both

Re: Strange toolbar/view/resize cursor interaction

2014-04-18 Thread Eric Shepherd
Still stumped by this one. I've read about every method that has resize or toolbar in its name, among others, without finding anything. :) Eric Shepherd Gmail: the.she...@gmail.com Twitter: sheppy On Thu, Apr 17, 2014 at 8:55 AM, Eric Shepherd the.she...@gmail.com wrote: I'm having an odd