On 28/12/2009, at 9:40 AM, Iceberg-Dev wrote: > 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.
Typically the delegate is the controller that calls beginSheet... so whatever it passed as contextInfo is available to any delegate method because it's something internal to this controller object. If you've organised your code in such a way that the controller is not the delegate, you might want to reconsider that. --Graham _______________________________________________ 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