Re: Strange toolbar/view/resize cursor interaction

2014-04-18 Thread Eric Shepherd
invalidateShadow: was a nice idea; just tried it and it didn't help. I only add the toolbar once; after that it's toggling visibility status. I'm just initially adding the toolbar programmatically instead of in the nib because I ran into some problems doing that in my Cocoa/Carbon hybrid app. Onc

Re: Strange toolbar/view/resize cursor interaction

2014-04-18 Thread Ken Thomases
On Apr 19, 2014, at 12:52 AM, Eric Shepherd wrote: > On Thu, Apr 17, 2014 at 8:55 AM, Eric Shepherd wrote: > >> I'm having an odd problem with my Mac OS X application here. I have a >> window containing an NSOpenGLView, into which I programmatically insert a >> toolbar when the window is opened.

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 wrote: > I'm having an odd problem with my Mac

Re: cocoapods: Problem with loading nib for a NSWindowController

2014-04-18 Thread Quincey Morris
On Apr 18, 2014, at 14:14 , Gerd Knops 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 you and Fritz missed my r

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 cas

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 wrote: > To be less Hermetic… case-sensitivity has been an option in HFS+ installation >

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 Gerd Knops
Dangerous (and entirely wrong) assumption. On Apr 18, 2014, at 12:07 PM, Quincey Morris 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 Quincey Morris
On Apr 18, 2014, at 06:32 , Colas 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 the capitaliza

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: 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 u

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 p