Re: Unable to set View Tag in IB?
Re: Unable to set View Tag in IB?
- Subject: Re: Unable to set View Tag in IB?
- From: Dave <email@hidden>
- Date: Tue, 07 Apr 2015 10:46:00 +0100
> On 6 Apr 2015, at 15:56, Jonathan Mitchell <email@hidden> wrote:
> Tag is a readonly property for views. NSControl implements setTag:
> If you defined a setNumberTag: method on your custom view you could use the user defined attributes in the NIB identity inspector to initialise the tag.
Is there any reason why? Seems a bit nuts to not allow it on NSViews, I do it all the time with UIView.
> You could also use the identity property.
> Also see http://stackoverflow.com/questions/8492918/unique-id-on-nsviews
>
> HTH
Yes, I’m using “ identifier” which better suits what I want to do anyway.
All the Best
Dave
_______________________________________________
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