Re: Saving window location
Re: Saving window location
- Subject: Re: Saving window location
- From: Vince DeMarco <email@hidden>
- Date: Fri, 7 Sep 2001 13:37:06 -0700
On Friday, September 7, 2001, at 01:27 pm, Drew Cunningham wrote:
Can anyone give me an example of Objective-C code to save the main window'
s location between application runs? I've been trying to use NSArchiver/
NSUnarchiver to no avail.
It would seem to be popular code to me, but I can't find any examples
specifically for window location in my searches.
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Either use IB (the name: field in the Window inspector) or the method
setFrameAutoSaveName: see
http://developer.apple.com/techpubs/macosx/Cocoa/Reference/ApplicationKit/
ObjC_classic/Classes/NSWindow.html
vince