Re: Can an NSArray ever have a count of -1?
Re: Can an NSArray ever have a count of -1?
- Subject: Re: Can an NSArray ever have a count of -1?
- From: Quincey Morris <email@hidden>
- Date: Fri, 19 Feb 2016 20:24:06 -0800
- Feedback-id: 167118m:167118agrif8a:167118sW6yQNrh1x:SMTPCORP
On Feb 19, 2016, at 19:00 , Gerriet M. Denkmann <email@hidden> wrote:
>
> I use Other C Flags: -DNS_BUILD_32_LIKE_64=1
AFAIK this is a Mac-only thing. I don’t believe it works on a 32-bit iOS platform, in particular because I don’t believe there are any 64-bit system frameworks on such a system. There’d be an ABI mismatch.
Also (I could be wrong but) I don’t think it was ever in the iOS SDK.
The point about Apple's %ld/(long) recommendation was that it replaced a source code construct that was correct only via knowledge of the architecture it was compiled for, with a construct that was correct for all platforms.
_______________________________________________
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