> id value = objc_msgSend(object, propSelector); > BOOL booleanValue = (BOOL)value;
> How can I properly convert this id returned from the dynamic > invocation of the property getter to the BOOL value that it actually is? Try BOOL booleanValue = (BOOL) (long) value; I believe this should also work on 64 bit. _______________________________________________ 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 arch...@mail-archive.com