On Aug 4, 2009, at 11:38 PM, aaron smith wrote:

if I receive an NSValue object, how can I find out if the value it
contains is a point/rect/size/ etc. I can't figure out what to compare
it with, and can't figure out if the objCType is something I can use
for that problem. Any ideas?

This:

http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/nsvalue_Class/Reference/Reference.html#//apple_ref/occ/instm/NSValue/objCType

Implies this:

http://developer.apple.com/documentation/Cocoa/Conceptual/NumbersandValues/Articles/Values.html#//apple_ref/doc/uid/20000174-BAJJHDEG

Which implies this:

http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtTypeEncodings.html

b.bum



_______________________________________________

Cocoa-dev mailing list ([email protected])

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]

Reply via email to