• 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
Presets & NSPrintPanel accessory view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Presets & NSPrintPanel accessory view


  • Subject: Presets & NSPrintPanel accessory view
  • From: Gerd Knops <email@hidden>
  • Date: Wed, 20 Jan 2010 13:11:09 -0600

Hi All,

I use NSPrintPanel's "addAccessoryController:" method to add an accessory view. It is used to manipulate some app-sepcific variables inside NSPrintInfo's "printSettings".

Most everything works fine, changing the values changes the preview, they are stored in Presets etc.

The one thing I can't figure out is to detect when the user choses a different preset. I tried observing printInfo, printInfo.printSettings and printInfo.printSettings.myCustomValue, but neither produce KVO messages when a preset with different values is picked.

The result is that after picking a preset the preview is updated, but my UI is not.

So how can my viewController detect when the user picks a preset, or alternatively when specific values inside printSettings change?


Thanks

Gerd
_______________________________________________

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: Socket Blocking Question
  • Next by Date: Re: Bindings: NSMutableArray -> NSArrayController -> NSPopUp
  • Previous by thread: Re: Socket Blocking Question
  • Next by thread: Uncaught exceptions not terminating my app
  • Index(es):
    • Date
    • Thread