• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Reading in one window's frame auto-save size for another?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Reading in one window's frame auto-save size for another? (From: Alex Kac <email@hidden>)

  • Prev by Date: Reading in one window's frame auto-save size for another?
  • Next by Date: Method name starts with "set"
  • Previous by thread: Reading in one window's frame auto-save size for another?
  • Next by thread: Method name starts with "set"
  • Index(es):
    • Date
    • Thread