Re: Reading in one window's frame auto-save size for another?
Re: Reading in one window's frame auto-save size for another?
- Subject: Re: Reading in one window's frame auto-save size for another?
- From: Ken Thomases <email@hidden>
- Date: Mon, 01 Aug 2016 19:27:16 -0500
On Aug 1, 2016, at 7:09 PM, Alex Kac <email@hidden> wrote:
>
> I have a popover that can be detached and turned into a window. When the window is resized, its size/position is saved. Great! However I want the popover to be the same size as the detached window when the user reopens that popover.
>
> Is there safe/compatible code to read in a window’s auto-save size so I can apply it to another window?
-[NSWindow setFrameUsingName:]
If you need it, there's also the frameAutosaveName to query a window's frame autosave name.
Cheers,
Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden