Re: Programmatically accessing Xcode specific label?
Re: Programmatically accessing Xcode specific label?
- Subject: Re: Programmatically accessing Xcode specific label?
- From: Roland King <email@hidden>
- Date: Mon, 20 Aug 2012 15:37:35 +0800
I just compiled up an iOS application and a test OSX one, the former of course with no constraints, the latter with them, and set the Xcode specific label for one view to something with the word banana in it. Then I went to the built product directory and searched for banana, didn't find it in any file in the built product. It's in the uncompiled xib, but I can't locate it anywhere in the build, it certainly doesn't seem to be in the compiled nib which is where I might have expected it.
So I don't know how autolayout's finding them. I've hunted for this before and came up with the same result.
On 20 Aug, 2012, at 12:14 PM, Rick Mann <email@hidden> wrote:
> And yet, when autolayout constraints log issues, they often (although not always, and hence my need) display the label you've given your view(s).
>
> --
> Rick
>
>
>
> On Aug 19, 2012, at 20:26 , Roland King <email@hidden> wrote:
>
>> No there isn't - that's purely in Xcode/IB and isn't exported into the code at all.
>>
>> On 20 Aug, 2012, at 9:59 AM, 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"
>>>
>>> --
>>> Rick
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>
_______________________________________________
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