On Tue, Nov 11, 2008 at 8:36 PM, Andre Masse <[EMAIL PROTECTED]> wrote: > I was looking everywhere for BOOL methods conversion and couldn't find any. > Now I know why: BOOL is not an object type. Not sure how I could have found > [myObject boolValue] though... Now that I know about it, I searched the > documentation reference and found that is a method implemented by NSString > and NSNumber. I suppose there's some kind of conversion from BOOL to > NSString or NSNumber being done somewhere for putting this value in the > change dictionary.
Key-Value Observing is built on top of Key-Value Coding, and KVC is documented to box non-object scalars using NSNumber and NSValue: http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueCoding/Concepts/DataTypes.html Mike _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]