FROM : Hans van der Meer
DATE : Sun Jan 06 21:34:27 2008
Making the transition to code that will be prepared for 64 bit may the
need arise, I changed (with the tops script) the integers to the
recommended NSInteger's and NSUInteger's.
Now in NSCoder I do find an encodeInteger:forKey: and
decodeInteger:forKey: for NSInteger, but the corresponding methods for
NSUInteger are absent.
In my code I have NSUInteger's to encode/decode and I would like to do
this in the correct manner.
Can I use the NSInteger coding methods directly with the NSUInteger's?
Or do I need some casting or other magic to get all the bits straight?
Hans van der Meer
DATE : Sun Jan 06 21:34:27 2008
Making the transition to code that will be prepared for 64 bit may the
need arise, I changed (with the tops script) the integers to the
recommended NSInteger's and NSUInteger's.
Now in NSCoder I do find an encodeInteger:forKey: and
decodeInteger:forKey: for NSInteger, but the corresponding methods for
NSUInteger are absent.
In my code I have NSUInteger's to encode/decode and I would like to do
this in the correct manner.
Can I use the NSInteger coding methods directly with the NSUInteger's?
Or do I need some casting or other magic to get all the bits straight?
Hans van der Meer
| Related mails | Author | Date |
|---|---|---|
| Hans van der Meer | Jan 6, 21:34 | |
| Sean McBride | Jan 7, 18:58 |






Cocoa mail archive

