FROM : Keith Duncan
DATE : Fri May 02 12:15:53 2008
> 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
DATE : Fri May 02 12:15:53 2008
> 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
| Related mails | Author | Date |
|---|---|---|
| Ross Tulloch | May 2, 04:29 | |
| Jens Alfke | May 2, 06:21 | |
| Keith Duncan | May 2, 12:15 |






Cocoa mail archive

