• 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
Window Identifier on Restoration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Window Identifier on Restoration


  • Subject: Window Identifier on Restoration
  • From: Dong Feng <email@hidden>
  • Date: Sun, 18 Dec 2011 21:42:30 +0800

The document says:

When re-creating each window, Cocoa passes the window’s unique identifier
string to the restoration class. You are responsible for assigning
identifier strings to your windows prior to preserving the window state.
Your restoration class can use these identifiers to determine which window
and associated objects it needs to re-create. The contents of an identifier
string can be anything you want but should be something to help you
identify the window later. For example, you might assign the string
“preferences” as the unique identifier of your application’s preferences
window.

But what's the API to assign a unique ID to a window?

Thanks,
Dong
_______________________________________________

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

  • Follow-Ups:
    • Re: Window Identifier on Restoration
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: responding to NSStepper clicks
  • Next by Date: Re: Window Identifier on Restoration
  • Previous by thread: Re: Reversed Mouse Wheel in Lion
  • Next by thread: Re: Window Identifier on Restoration
  • Index(es):
    • Date
    • Thread