Re: Hide application from dock
Re: Hide application from dock
- Subject: Re: Hide application from dock
- From: John Stiles <email@hidden>
- Date: Wed, 09 Apr 2008 16:35:58 -0700
Even if you could change it, once your app is running it, changing the
plist won't have any effect until the next time the app is run. So it's
probably a moot point.
glenn andreas wrote:
On Apr 9, 2008, at 4:41 PM, Randall Meadows wrote:
[resending with my subscribed address--grrr]
On Apr 9, 2008, at 3:34 PM, Jere Gmail wrote:
I know taht with nsbundle I can obtain the path. But as it is a xml
file, I didn't want to mess with it and I was guessing some class
could handle it easily.
NSMutableDictionary
Read it into a dictionary, change the appropriate key-value pair,
write it back out.
You shouldn't design your application such that it requires being able
to modify its own bundle in any way, shape or form. In many cases you
won't have write permission on it...
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium2 | build, mutate, evolve, animate | images, textures,
fractals, art
_______________________________________________
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
_______________________________________________
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