• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSUIElement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSUIElement


  • Subject: Re: NSUIElement
  • From: Finlay Dobbie <email@hidden>
  • Date: Fri, 4 Oct 2002 21:57:00 +0100

On Friday, October 4, 2002, at 02:40 pm, Thomas Castiglione wrote:

Why would I need authentication to write to that file? It isn't installed by
root or anything, just a normal app. It would be a bummer if I had to write
to this file everytime, but can be done.

Is this not the correct way to hide the icon from the dock?

It is the correct way, and you won't need authentication.

You can't rely on the user running your application having write permissions to your application bundle or the directory containing it. For example, if they are a non-administrator and the app has been installed in /Applications by an admin.

-- Finlay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSUIElement
      • From: Ben Mackin <email@hidden>
References: 
 >Re: NSUIElement (From: Thomas Castiglione <email@hidden>)

  • Prev by Date: Re: [Q] Assertion failure in -[NSThemeFrame lockFocus]
  • Next by Date: Re: [semi-newbie] Message sent to NSWindowController after
  • Previous by thread: Re: NSUIElement
  • Next by thread: Re: NSUIElement
  • Index(es):
    • Date
    • Thread