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 PROTECTED]> 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 protected]) 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 [EMAIL PROTECTED]
