Re: Creating an Application Support folder
Re: Creating an Application Support folder
- Subject: Re: Creating an Application Support folder
- From: "Sean McBride" <email@hidden>
- Date: Sat, 13 Feb 2010 14:19:30 -0500
Ken Thomases (email@hidden) on 2010-02-13 08:58 said:
>If you're targeting Snow Leopard or later, the new recommended routines are:
>
>-[NSFileManager URLForDirectory:inDomain:appropriateForURL:create:error:]
>-[NSFileManager URLsForDirectory:inDomains:]
>
>The former can be told to create the directory for you.
That's a much nicer API. Now if they'd just expand the
NSSearchPathDirectory choices, FSFindFolder could finally be obsoleted.
Sean
--
"When the winds of change are blowing, some people are building shelters
and others are building windmills" - Chinese proverb
_______________________________________________
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