Reusing the last viewed directory
Reusing the last viewed directory
- Subject: Reusing the last viewed directory
- From: Chad Armstrong <email@hidden>
- Date: Sun, 11 Jan 2004 12:27:27 -0600
Is there a quick and dirty way when any subsequent Open File/Directory
panels are opened that it starts in the last viewed directory? Right
now I just have the home directory coded in, as shown in the code below.
result = [dir_panel runModalForDirectory:NSHomeDirectory() file:nil
types:nil];
Is there any NSSomething() call to retrieve the last directory, AND if
there is no last directory, then it can default to something like the
NSHomeDirectory() (or some other specified directory?
Chad Armstrong
email@hidden
_______________________________________________
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.