Re: Save window position programmatically
Re: Save window position programmatically
- Subject: Re: Save window position programmatically
- From: Graeme Hiebert <email@hidden>
- Date: Wed, 27 Feb 2002 07:50:11 -0800
On Tuesday, February 26, 2002, at 04:51 PM, Erik J. Barzeski wrote:
"Why is my preferences file 10 MB?!? Ah, because it's saved the window
positions of 1000 documents I'll never open again."
So you'd rather save that forty bytes of information (describing the
window frame) in the resource fork of a file which likely doesn't
already have a resource fork? That will require a new 4K (?) disk block
to be allocated to each file that needs this information. By saving
this into the user defaults, you can put 100 documents' window positions
into that same space.
-g
_______________________________________________
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.