• 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
Font Panel and storing font user default
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Font Panel and storing font user default


  • Subject: Font Panel and storing font user default
  • From: Stuart Malin <email@hidden>
  • Date: Mon, 15 Jun 2009 09:21:52 -1000

I would like for my app to enable the user to set a user default for a Font to be used in a certain part of the application. I have a preferences panel, and within that am able to open the NSFontPanel. However, I can't figure out how to capture the setting that is made: must I actually have some text (say in a Text View) that is edited?

Also, is it possible to save an NSFont as an object in user preferences? Or must I save off the parts of the font specification separately: font name, size, attributes.

I have tried searching the usual places for info, but can't seem to find anything that helps me directly, so am querying the list. TIA.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Prev by Date: Re: advice on background process
  • Next by Date: Re: Core Data, to-many relationships, and object graph consistency
  • Previous by thread: Re: ANN: Rosetta Booster Beta 1.0.1a (reference [NSTask] -launch return)
  • Next by thread: Re: Font Panel and storing font user default
  • Index(es):
    • Date
    • Thread