Re: Hide application from dock
Re: Hide application from dock
- Subject: Re: Hide application from dock
- From: "Jere Gmail" <email@hidden>
- Date: Wed, 9 Apr 2008 23:34:57 +0200
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.
btw, I know I have to restart the application in order to apply the changes :P
On Wed, Apr 9, 2008 at 11:25 PM, Randall Meadows <email@hidden> wrote:
> On Apr 9, 2008, at 3:10 PM, Jere Gmail wrote:
>
> > I know I can hide my app from dock simply changing the value
> > NSUIElement in the Info.plist
> > But I want to do it from inside the application. Is there an easy way
> > to modify this file?
> >
>
> NSBundle -pathForResource... will get you the path to the file, which you
> can then open and modify. You'll have to restart the app in order for that
> change to be seen by the system.
>
--
http://zon7blog.wordpress.com/
And again we fall.
_______________________________________________
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