Re: NSDateFormatter -initWithDateFormat:: vs. -init
Re: NSDateFormatter -initWithDateFormat:: vs. -init
- Subject: Re: NSDateFormatter -initWithDateFormat:: vs. -init
- From: Greg Parker <email@hidden>
- Date: Fri, 11 Nov 2011 17:41:41 -0800
On Nov 11, 2011, at 5:36 PM, Jerry Krinock wrote:
> NSDateFormatter documentation indicates that -initWithDateFormat:allowNaturalLanguageString: is the recommended initializer for new designs, and furthermore that -init is not "available" after 10.5.
The documentation is wrong. -[NSDateFormatter init] is not deprecated. Use it.
Your documentation may be out of date. I think that documentation bug in NSDateFormatter is fixed now.
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
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