• 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: Preferences, Authorization, Writing files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preferences, Authorization, Writing files


  • Subject: Re: Preferences, Authorization, Writing files
  • From: Finlay Dobbie <email@hidden>
  • Date: Fri, 7 Feb 2003 19:49:06 +0000

On Friday, February 7, 2003, at 05:43 pm, Frank Fenn wrote:

To write your data, you'll need to run a small helper utility with administrator privileges using Authorization Services. There's sample code on Apple's web site demonstrating how to do this.

What would be the best way to pass the NSMutableArray to the helper tool then, so I can use NSArchiver
on it? Or can I use DO to access the array from within the helper tool?

You have so many options! The easiest may be to serialize your NSMutableArray to an NSData, then write that down your pipe to the tool.

-- 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:
    • Pipes and helper tool
      • From: Frank Fenn <email@hidden>
References: 
 >Re: Preferences, Authorization, Writing files (From: Frank Fenn <email@hidden>)

  • Prev by Date: RE: Strange cocoa asserts
  • Next by Date: Invisible Files
  • Previous by thread: Re: Preferences, Authorization, Writing files
  • Next by thread: Pipes and helper tool
  • Index(es):
    • Date
    • Thread