FROM : Daniel Richman
DATE : Sat Jun 21 21:31:31 2008
Ah. So the typedef changes depending on the platform.
Interesting, thanks.
Nick Zitzmann wrote:
>
> On Jun 21, 2008, at 9:13 AM, Daniel Richman wrote:
>
>> Thanks! I don't know why they introduced NSInteger. It sounds like it
>> would be a subclass of NSNumber.
>
>
> They did that so that NSData, etc. can hold a 63-bit amount of data in
> 64-bit applications while not shattering backward compatibility in
> 32-bit applications. Likewise, CGFloat was added so that 64-bit
> applications can use double-precision floating point for drawing while
> not shattering backward compatibility.
>
> Nick Zitzmann
> <http://www.chronosnet.com/>
>
>
>
>
DATE : Sat Jun 21 21:31:31 2008
Ah. So the typedef changes depending on the platform.
Interesting, thanks.
Nick Zitzmann wrote:
>
> On Jun 21, 2008, at 9:13 AM, Daniel Richman wrote:
>
>> Thanks! I don't know why they introduced NSInteger. It sounds like it
>> would be a subclass of NSNumber.
>
>
> They did that so that NSData, etc. can hold a 63-bit amount of data in
> 64-bit applications while not shattering backward compatibility in
> 32-bit applications. Likewise, CGFloat was added so that 64-bit
> applications can use double-precision floating point for drawing while
> not shattering backward compatibility.
>
> Nick Zitzmann
> <http://www.chronosnet.com/>
>
>
>
>
| Related mails | Author | Date |
|---|---|---|
| Daniel Richman | Jun 21, 04:51 | |
| Graham Cox | Jun 21, 05:11 | |
| Daniel Richman | Jun 21, 17:13 | |
| Charles Srstka | Jun 21, 17:19 | |
| Daniel Richman | Jun 21, 17:23 | |
| Nick Zitzmann | Jun 21, 21:24 | |
| Daniel Richman | Jun 21, 21:31 |






Cocoa mail archive

