• 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
NSSavePanel with accessory view and file types popup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSavePanel with accessory view and file types popup


  • Subject: NSSavePanel with accessory view and file types popup
  • From: email@hidden
  • Date: Tue, 05 Jan 2010 16:21:39 -0500

Hi,

I'm trying to add a custom accessory view to an NSSavePanel with a file types popup and a couple other controls. When shouldRunSavePanelWithAccessoryView returns YES for the default accessory view, the type popup works as expected when dataRepresentationOfType is invoked, the correct type is there. But when shouldRunSavePanelWithAccessoryView returns NO and I set up my own controls in IB and prepareSavePanel, the file type is not set correctly when dataRepresentationOfType is invoked. My file type popup action invokes setRequiredFileType and setFileType.

What am I missing?

thanks
Jeff

P.S.
I know dataRepresentationOfType is depreciated, but I would like 10.3 compatibility. http://adium.im/sparkle shows what OS their users have and it does not show a lot of people still using 10.3. Does anyone on this list still support 10.3?




_______________________________________________

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


  • Follow-Ups:
    • Re: NSSavePanel with accessory view and file types popup
      • From: email@hidden
    • Re: NSSavePanel with accessory view and file types popup
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Using AppleEvents to copy and past text from any application
  • Next by Date: Re: NSDate without time portion
  • Previous by thread: Re: Using AppleEvents to copy and past text from any application
  • Next by thread: Re: NSSavePanel with accessory view and file types popup
  • Index(es):
    • Date
    • Thread