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

Re: Window Identifier on Restoration


  • Subject: Re: Window Identifier on Restoration
  • From: Fritz Anderson <email@hidden>
  • Date: Sun, 18 Dec 2011 09:47:54 -0600

On 18 Dec 2011, at 7:42 AM, Dong Feng wrote:

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

NSWindow conforms to <NSUserInterfaceItemIdentification>, whose only method is:

@property (copy) NSString *identifier;

Also, in Interface Builder, select the window, and the Identity inspector (Utility area, third tab), there's a section named "User Interface Item Identifier."

	— F




_______________________________________________

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: Dong Feng <email@hidden>
References: 
 >Window Identifier on Restoration (From: Dong Feng <email@hidden>)

  • Prev by Date: Window Identifier on Restoration
  • Next by Date: Re: responding to NSStepper clicks
  • Previous by thread: Window Identifier on Restoration
  • Next by thread: Re: Window Identifier on Restoration
  • Index(es):
    • Date
    • Thread