> I noticed you release the fileProps but didn’t release the image, but I don’t 
> know if that’s one of those details you left out for clarity.

Good point, and sorry for the confusion.
Yes, I do release the image.

> Also, depending on some factors like mutability, while the initWithString 
> call with a CFStringRef might essentially be a no-op, you can just do the 
> typecast on the dateref and pass it directly into dateFromString.

Thanks, that should work.

A detail I left out in-between: whitespace trimming.

Or, does anyone know if dateFromString will handle trailing/leading whitespaces 
gracefully?

>
> One thing I’d suggest is to do the work for each image asynchronously on a 
> background queue and have that block (essentially all of your for-loop code) 
> report its completion by some asynchronous way like posting a notification on 
> the original queue

Yes, I will try to do that, in particular, to let the user know about the 
progress.


G.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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