Re: [NSOpenPanel setTreatsFilePackagesAsDirectories] and a doc-based application
Re: [NSOpenPanel setTreatsFilePackagesAsDirectories] and a doc-based application
- Subject: Re: [NSOpenPanel setTreatsFilePackagesAsDirectories] and a doc-based application
- From: publiclook <email@hidden>
- Date: Sat, 8 Mar 2003 09:50:14 -0500
You must always read the superclass's documentation to understand the
class you are using, or do you expect to see all of NSObject's methods
documented in every Cocoa class ? The very first links in every page
of documentation are the links to the superclasses.
On Saturday, March 8, 2003, at 08:11 AM, Oleg Svirgstin wrote:
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.
_______________________________________________
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.