CGDisplayIOServicePort

2013-12-24 Thread John Joyce
Hello all, CGDisplayIOServicePort is documented as deprecated but available in 10.9 with no replacement. Is there any known, non-deprecated alternative function? Thanks, JJ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: comboBoxSelectionDidChange not called

2013-12-24 Thread Scott Ribe
On Dec 23, 2013, at 12:08 PM, Scott Ribe scott_r...@elevated-dev.com wrote: comboBoxSelectionDidChange in my delegate is not called when the user selects an item using the mouse. - The target action for a selection change *is* called. - Problem is 10.6 only, it is called as expected on

Re: NSArrayController + NSTableView addObject ends editing

2013-12-24 Thread Trygve Inda
On Nov 14, 2013, at 8:04 AM, Trygve Inda cocoa...@xericdesign.com wrote: On Nov 14, 2013, at 12:54 AM, Trygve Inda cocoa...@xericdesign.com wrote: I have a NSTableView backed by an NSArrayController. If I am editing a cell in a row in the tableview and call addObject on the

Re: NSArrayController + NSTableView addObject ends editing

2013-12-24 Thread Trygve Inda
This is not because you are adding a row per se, but because the action is changing the first responder. If you don't want to allow changing the first responder you will need to subclass (the table view, cell, or window) to refuse to resign first responder status under the desired conditions.

Re: NSArrayController + NSTableView addObject ends editing

2013-12-24 Thread Trygve Inda
It seems that NSTableView's reloadData called by NSArrayController's addObject kills the edit session (without giving my delegate a chance to refuse to end the editing). Is there a way to add items to the table and not end my editing? Think of the Finder and you are editing a file name, while

Re: iTune Plist changes from NSUserdefaults

2013-12-24 Thread Jens Alfke
On Dec 23, 2013, at 10:58 PM, Madhavi Gundeti madhavi.gundet...@gmail.com wrote: I am developing a daemon which runs as root That’s not recommended, because the daemon will have the ability to do all kinds of bad things. A bug could destroy someone’s system, or worse, a security hole in

Re: NSArrayController + NSTableView addObject ends editing

2013-12-24 Thread Quincey Morris
On Dec 24, 2013, at 11:41 , Trygve Inda cocoa...@xericdesign.com wrote: It seems that NSTableView's reloadData called by NSArrayController's addObject kills the edit session (without giving my delegate a chance to refuse to end the editing). Is there a way to add items to the table and not

Re: NSArrayController + NSTableView addObject ends editing

2013-12-24 Thread Trygve Inda
On Dec 24, 2013, at 11:41 , Trygve Inda cocoa...@xericdesign.com wrote: It seems that NSTableView's reloadData called by NSArrayController's addObject kills the edit session (without giving my delegate a chance to refuse to end the editing). Is there a way to add items to the table and