• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unable to set View Tag in IB?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 15:43:53 +0100

> On 7 Apr 2015, at 15:34, Kyle Sluder <email@hidden> wrote:
>
> On Tue, Apr 7, 2015, at 04:46 AM, Dave wrote:
>>
>> Is there any reason why? Seems a bit nuts to not allow it on NSViews, I
>> do it all the time with UIView.
>
> Speculation: it might just be an artifact of history, like how -target
> and -action are on NSActionCell instead of NSCell.
>
> The purpose of tag was for the recipient of an action message to figure
> out which member of a group of controls was actually chosen.
> Conceptually, senders were going to be NSControls, so back in the day it
> might have really been a big deal to save those four bytes on each
> non-control NSView instance.

Yeah, and now there’s a better solution anyway using “identifier”.



 _______________________________________________
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


References: 
 >Unable to set View Tag in IB? (From: Dave <email@hidden>)
 >Re: Unable to set View Tag in IB? (From: Jonathan Mitchell <email@hidden>)
 >Re: Unable to set View Tag in IB? (From: Dave <email@hidden>)
 >Re: Unable to set View Tag in IB? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Unable to set View Tag in IB?
  • Next by Date: Re: Fixing a build path after renaming a project
  • Previous by thread: Re: Unable to set View Tag in IB?
  • Next by thread: Launch images for a iOS7/8 project doesn't shown
  • Index(es):
    • Date
    • Thread