Re: Window Identifier on Restoration
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