On 16 Jan 2015, at 01:16, Jerry Krinock <[email protected]> wrote: >> So, great, I thought, just override -currentDirectory in the >> NSDocumentController subclass for TextEdit, and I can make it go wherever I >> want to.
> Have you thought about just setting the directoryURL of the NSOpenPanel? If you do that, then you've reset it every time, and that's annoying - users expect it to go back to the last one they used. The suggestion we got from that long-distant WWDC was to set it only if the NSUserDefault wasn't set; that starts it off in a place more relevant to your app than the standard Documents, and gives you normal behavior thereafter. _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
