Re: class_addMethod and type encodings.
Re: class_addMethod and type encodings.
- Subject: Re: class_addMethod and type encodings.
- From: Keith Duncan <email@hidden>
- Date: Fri, 2 May 2008 11:15:53 +0100
3) The only doco I can find for type encodings in ObjC is the
"Runtime System > Type Encodings" page. Is there any other doco I
should be reading?
You can use the @encode() helper. This is also useful when using
NS(U)Integer as it will encode the correct type for 32/64 bit
depending on the compile without you having to worry about changing
the strings yourself.
Keith
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden