Alex,

Have you tried looking at NSDataDetector. http://nshipster.com/nsdatadetector/

Sandor

> On Nov 22, 2015, at 16:12, Alex Hall <mehg...@icloud.com> wrote:
> 
> Hey list,
> I’m using NSDateFormatter.dateFromString() to make a date from the date 
> string in a tweet. However, it seems to be returning nil, and I’m not sure 
> why. Is there something else I have to do, like tell the formatter what order 
> to expect components to be in? The string is something like:
> 
> "Sun Nov 22 21:00:39 +0000 2015”
> 
> Thanks for any suggestions anyone has.
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> 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/admin.szatmari.net%40gmail.com
> 
> This email sent to admin.szatmari....@gmail.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to