On Mar 26, 2010, at 1:54 AM, Nikhil Khandelwal <nikhil_khandel...@persistent.co.in > wrote:

I want to get the path of /User/library/Preference to put the plist file over there. For getting the path I am using NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES) which gives me path to library. Is there anything which gives me directly path to Preference folder instead of appending it to Library path.

NSUserDefaults (and CFPreferences) already does this for you. You should not do this yourself.

--Kyle Sluder
_______________________________________________

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

This email sent to arch...@mail-archive.com

Reply via email to