Re: NSArray firstObject?
Re: NSArray firstObject?
- Subject: Re: NSArray firstObject?
- From: Jens Alfke <email@hidden>
- Date: Mon, 23 Dec 2013 11:09:19 -0800
On Dec 23, 2013, at 7:02 AM, Gordon Apple <email@hidden> wrote:
> FirstObject is a better choice and avoids having to pre-check for count != 0.
Yes, that’s exactly its purpose. It’s the counterpart of lastObject.
—Jens
_______________________________________________
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