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: Sat, 20 Feb 2016 00:54:34 -0800
- Feedback-id: 167118m:167118agrif8a:167118sW6yQNrh1x:SMTPCORP
On Feb 20, 2016, at 00:25 , Jean-Daniel Dupas <email@hidden> wrote:
>
> Even if swift is planning to provide a Foundation framework, one of the strong requirement is that it must be source compatible with the Apple Foundation, as that is the one that will be used on Apple platforms. So if it does not behave like NSString, it should be considered a bug.
Like with arrays, dictionaries and sets, it can have new APIs that are quite different and still bridge (in the Apple version of the Swift compiler) to Cocoa classes and APIs. There may end up being *two* flavors of string format specifiers.
Or, perhaps the changes might percolate back to Cocoa. Lightweight generics are something along that line.
_______________________________________________
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