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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to