NSSavePanel with accessory view and file types popup
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