Re: Programmatically accessing Xcode specific label?
Re: Programmatically accessing Xcode specific label?
- Subject: Re: Programmatically accessing Xcode specific label?
- From: Fritz Anderson <email@hidden>
- Date: Sun, 19 Aug 2012 22:29:55 -0500
On 19 Aug 2012, at 8:59 PM, Rick Mann <email@hidden> wrote:
> Is there any way to get, for an object instantiated via NIB file, the "Xcode Specific Label" set on it (if any)? This is the Label that can be set in IB under "Identity Inspector->Document->Label"
Nope. It's just a convenience for labeling things as you inspect them in the XIB/storyboard.
You could define a string property in the object you're interested in, and use "User Defined Runtime Attributes," in the Identity inspector, to attach something you can read at runtime. For that matter, if it's a view, you can set the tag.
— F
--
Fritz Anderson -- Xcode 4 Unleashed -- <http://x4u.manoverboard.org/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden