[NSOpenPanel setTreatsFilePackagesAsDirectories] and a doc-based application
[NSOpenPanel setTreatsFilePackagesAsDirectories] and a doc-based application
- Subject: [NSOpenPanel setTreatsFilePackagesAsDirectories] and a doc-based application
- From: Oleg Svirgstin <email@hidden>
- Date: Sat, 08 Mar 2003 16:11:36 +0300
Hi all!
First, I would like to know WHAT documentation is stating this?
I use the December tools, and there is NOTHING about these methods in my
docs. (The page about NSOpenPanel that was "last published Nov. 1 2002").
>
As the documentation is stating:
>
setTreatsFilePackagesAsDirectories:
>
- (void)setTreatsFilePackagesAsDirectories:(BOOL)flag
>
See Also: - treatsFilePackagesAsDirectories
I guess it is in the new docs that sit in the web - provided with slow
connection I cannot have permanent access to them, humbly waiting for the
docs in a wholesale-download-form...
The "setTreatsFilePackagesAsDirectories" however works (when I call a
runModal... directly).
I want to add this behavior to a document based application (a tool) and I
cannot figure out at what point should I set this flag to
the shared NSOpenPanel.
I attempted to set it in windowDidLoad, and in some other points, too.
Nothing helps. I set this flag, but the NSOpenPanel still attempts to open
my file package and, of course, fails. I am sure we use a shared instance of
NSOpenPanel, but NSDocument seems to reset its flags before exposing the
panel.
Thanks in advance...
Regards
Oleg
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.