• 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: CFPreferences calls in Cocoa apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFPreferences calls in Cocoa apps


  • Subject: Re: CFPreferences calls in Cocoa apps
  • From: The Karl Adam <email@hidden>
  • Date: Thu, 18 Nov 2004 20:44:47 -0500

If you only need read access to the preferences of another app then
-addSuiteNamed:@"com.bundle.id" should do exactly what you want. if
you want to edit them you can use the PereferenceDomain methods of
NSUserDefaults.

-Karl


On Thu, 18 Nov 2004 17:18:54 +0000, Thomas Davie <email@hidden> wrote:
> Hi,
>    I'm writing what is at heart a cocoa application, but needs to make a
> few Core Foundation Preferences calls, specifically it needs to grab
> the preferences for another application.  I have been trying to use
> CFPreferencesCopyKeyList to grab the preferences, but it apparently
> always returns nil (at least within a cocoa app).  Considering what
> might be causing this, I decided to try synchronizing the preferences
> first using CFPreferencesAppSynchronize, this unfortunately causes a
> SIGABRT... Does anyone have any idea why this happens?
>
> Thanks
>
> Tom Davie
>
> --
> Computer Science is as much about computers as astronomy is about
> telescopes -- Edsgar Dijkstra
>
>  _______________________________________________
> 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
>
 _______________________________________________
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: 
 >CFPreferences calls in Cocoa apps (From: Thomas Davie <email@hidden>)

  • Prev by Date: Re: making the window shake
  • Next by Date: Re: Compiles everything
  • Previous by thread: Re: CFPreferences calls in Cocoa apps
  • Next by thread: NSImage question
  • Index(es):
    • Date
    • Thread