Re: Setting file visibility in Cocoa
Re: Setting file visibility in Cocoa
- Subject: Re: Setting file visibility in Cocoa
- From: Michael Watson <email@hidden>
- Date: Tue, 23 Jan 2007 14:16:11 -0500
Awesome! I figured there was an easy API-based way to pull it off.
Thanks for the correction.
--
mikey
On 23 Jan, 2007, at 14:12, Andrew Farmer wrote:
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