On 16 Feb 2009, at 10:07 am, Gordon Apple wrote:

What does that mean?  If you want a CGSize, does that mean you have to
use "sizeValue" on what is returned and convert it?


Yes; what is returned is an object (NSValue) containing the size. You call -sizeValue to get the size itself. KVC always returns an object as a value, so if it's a scalar type, you have to "unwrap" it.

--Graham




_______________________________________________

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

Reply via email to