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 adm

Re: comboBoxSelectionDidChange not called

2013-12-24 Thread Scott Ribe
On Dec 23, 2013, at 12:08 PM, Scott Ribe 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 10.7/8/9. > > - It use

Re: NSArrayController + NSTableView addObject ends editing

2013-12-24 Thread Trygve Inda
> On Nov 14, 2013, at 8:04 AM, Trygve Inda wrote: > >>> On Nov 14, 2013, at 12:54 AM, Trygve Inda 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 NSArrayController (to add a new row t

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 condition

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 som

Re: iTune Plist changes from NSUserdefaults

2013-12-24 Thread Jens Alfke
On Dec 23, 2013, at 10:58 PM, Madhavi Gundeti 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 your code could let an attacke

Re: NSArrayController + NSTableView addObject ends editing

2013-12-24 Thread Quincey Morris
On Dec 24, 2013, at 11:41 , Trygve Inda 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 end my editing? Whi

Re: NSArrayController + NSTableView addObject ends editing

2013-12-24 Thread Trygve Inda
> On Dec 24, 2013, at 11:41 , Trygve Inda 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 end my edit