Re: BOOL attribute types.

2015-02-18 Thread Alex Zavatone
Thanks Jens. One issue I found in trying to do this is that a BOOL with a NO and a BOOL with a nil value will both return NO when doing [self valueForKey:propertyName]. In creating an autoDescription method for objects, it's important to know if our BOOLs are NO or nil. Any ideas on how to

Re: BOOL attribute types.

2015-02-18 Thread Scott Ribe
Brain farts happen... On Feb 18, 2015, at 11:58 AM, Alex Zavatone z...@mac.com wrote: Well, stupid me. You can't have a BOOL with a nil value. Thanks Scott. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice

Re: Cocoa Documentation PlugIn for Safari

2015-02-18 Thread Dave
Found it! http://www.erinedesign.com/extensions/ If anyone is looking for the same thing. All the Best Dave On 17 Feb 2015, at 11:13, Dave d...@looktowindward.com wrote: Hi All, A while back I Installed a plug in for Safari that showed the Cocoa Reference Documents and allow

Re: BOOL attribute types.

2015-02-18 Thread Scott Ribe
On Feb 18, 2015, at 11:02 AM, Alex Zavatone z...@mac.com wrote: In creating an autoDescription method for objects, it's important to know if our BOOLs are NO or nil. ??? It's a char, not a pointer, simply an integer type. Nil is 0, NO is 0, assign 0 to an integer, you have 0. -- Scott

Re: BOOL attribute types.

2015-02-18 Thread Alex Zavatone
Well, stupid me. You can't have a BOOL with a nil value. Thanks Scott. Sent from my iPad. Please pardon typos. On Feb 18, 2015, at 1:29 PM, Scott Ribe scott_r...@elevated-dev.com wrote: On Feb 18, 2015, at 11:02 AM, Alex Zavatone z...@mac.com wrote: In creating an autoDescription method

Re: Bindings and Editing in a row

2015-02-18 Thread John MacMullin
Actually, I did put in the NSLOG’s in the shouldEditTableColumn and it never “fired” no matter what I did, hence my question about the need and where documented. I did find in the docs the statement to the effect that setObjectValue, as a datasource method, can run without the other datasource