Re: I've Got Those NSKeyedUnarchiver Blues!

2011-12-05 Thread Stuart Rogers
On 4 Dec 2011, at 23:09, Jens Alfke wrote: *** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (SplitsTestSet) I really don't understand why this is happening. I'm convinced it's not a problem with library linking, as these apps have no problem instantiating

Re: Escape xml with CFXMLCreateStringByEscapingEntities

2011-12-05 Thread Andreas Grosam
On Dec 1, 2011, at 9:19 AM, Claude Saelens wrote: Hello, I need to put XML fragments into another XML. Each time an XML fragment is put into another XML it needs to be escaped to be send to backend a java application. I used the function CFXMLCreateStringByEscapingEntities but it seems

Re: Escape xml with CFXMLCreateStringByEscapingEntities

2011-12-05 Thread Wim Lewis
On 4 Dec 2011, at 10:42 AM, Jens Alfke wrote: It looks like you’re trying to convert an NSString to a CFString through a whole bunch of conversions; but all this takes is a simple cast: For more information on this, by the way, check Toll-Free Bridging in the developer docs; instances of

Re: NSViewController KVO compliance

2011-12-05 Thread Scott Anguish
Unfortunately, if the doc doesn’t mention it specifically, don’t assume that it is and always will be, even with evidence. You can check the headers to see (and if there is a mismatch, mention it in a bug) File a bug asking for clarification. which you have. This goes for all hopefully-KVO

Re: Why would a working -[NSInvocation invoke] call NSBeep() ?

2011-12-05 Thread Greg Parker
On Dec 4, 2011, at 5:49 PM, Jerry Krinock wrote: At one point, running in Mac OS 10.7, one of my invocations gets invoked, and … #00x913761fa in NSBeep #10x9b6f0e1d in __invoking___ #20x9b6f0d59 in -[NSInvocation invoke] #30x976458ea in __NSFireDelayedPerform #4

NSComboBoxCell drop down programmatically

2011-12-05 Thread Ivan C Myrvold
Is it possible to simulate that a user clciks an arrow in NSComboBoxCell in NSTableView? I mean to do this programmatically? I have an application that have the requirement that the line of the NSComboBoxCell is to be selected, and the have the comboboxcell drop down. the selection part of it

NSToolbar breaks auto layout constraints of NSSplitView in window

2011-12-05 Thread Sean Todd
I have a .xib file that uses auto layout. I setup a window with a sidebar using NSSplitView and NSOutlineView. Everything was working well with resizing the window until I added a NSToolbar. Things continued to look good when I resized the window in IB but not when the app is run. When the

Alternate Framework location

2011-12-05 Thread TomJones
Hello, I've been reading through the developer docs and I'm not sure I can do what I want so I thought I would ask. I have created a Foundation tool and I have created a private framework. All works great if I install my framework in /Library/Frameworks. What I would like to know is, can I

Re: Alternate Framework location

2011-12-05 Thread Wim Lewis
On 5 Dec 2011, at 5:11 PM, TomJones wrote: I've been reading through the developer docs and I'm not sure I can do what I want so I thought I would ask. I have created a Foundation tool and I have created a private framework. All works great if I install my framework in