On Aug 2, 2014, at 11:57 PM, Shane Stanley <[email protected]> wrote:

> On 31 Jul 2014, at 8:27 am, Jens Alfke <[email protected]> wrote:
> 
>> I want to avoid if possible a solution that involves manually scraping the 
>> string.
> 
> NSDataDetector? NSTextCheckingTypeDate has a timeZone property.

NSDataDetector is probably better for detecting arbitrary date strings anyway. 
Doesn't NSDateFormatter expect you to specify the format the string will be in?

Charles

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to