[Case]

You display an Open Panel with the method:

- [NSOpenPanel beginSheetForDirectory:file:types:modalForWindow:modalDelegate:didEndSel ector:contextInfo:];

and you set a delegate for the panel so that you can filter out some files with the delegate method - (BOOL) panel:(id)sender shouldShowFilename:(NSString *) inFileName;


Problem: what if you need to access the contextual info from the panel:shouldShowFilename: method?


I haven't found a method to access the contextual information in NSSavePanel, NSPanel, NSWindow.


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to