• 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: FSCopyObjectAsync: useless and crippled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FSCopyObjectAsync: useless and crippled


  • Subject: Re: FSCopyObjectAsync: useless and crippled
  • From: Greg Hurrell <email@hidden>
  • Date: Sun, 15 May 2005 15:18:55 +0200

El 14/05/2005, a las 5:58, Steve Gehrman escribió:

You want FSCopyObject to pop-up a dialog and ask the user to authenticate a copy of a file they don't have permission to read? Then switch to privileged execution mode if it needs to? Automatically?


Yes. Why not? Isn't OS X a modern operating system? Why should it be so difficult?

I couldn't disagree more strongly. I can only assume that you haven't got much programming experience or that you're being deliberately trollish. This has nothing at all to do with Mac OS X being modern (or not). The File Manager API is a fairly low-level API, yet you're expecting it to behave like an extremely high-level one. Having File Manager APIs throwing up dialogs and elevating privileges would be like having the malloc() function throwing up a pie chart of memory usage whenever an allocation failed. If you want the Finder to handle your copying for you and throw up dialogs on your behalf, control it with AppleScript.


Greg _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: FSCopyObjectAsync: useless and crippled (From: James Bucanek <email@hidden>)
 >Re: FSCopyObjectAsync: useless and crippled (From: Steve Gehrman <email@hidden>)

  • Prev by Date: Re: FSCopyObjectAsync: useless and crippled
  • Next by Date: Re: What Happens When a Nib File is Loaded
  • Previous by thread: Re: FSCopyObjectAsync: useless and crippled
  • Next by thread: Re: FSCopyObjectAsync: useless and crippled
  • Index(es):
    • Date
    • Thread