Re: Setting file visibility in Cocoa
Re: Setting file visibility in Cocoa
- Subject: Re: Setting file visibility in Cocoa
- From: Andrew Farmer <email@hidden>
- Date: Tue, 23 Jan 2007 11:12:56 -0800
On 23 Jan 07, at 10:08, Michael Watson wrote:
I'm sure there's an API way I don't know about, but (assuming
legality) you could always bundle SetFile inside your application,
and use NSTask.
Ew, no! Use the Carbon function that SetFile wraps: FSSetCatalogInfo.
(Or, if you have an inexplicable Carbon allergy, setattrlist() -
though I'd strongly discourage that.)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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