• 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: Lost ability to alt-drag IB items [Solved]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lost ability to alt-drag IB items [Solved]


  • Subject: Re: Lost ability to alt-drag IB items [Solved]
  • From: Ricky Sharp <email@hidden>
  • Date: Fri, 10 Dec 2004 08:54:31 -0600


On Dec 9, 2004, at 9:56 PM, Ricky Sharp wrote:

At this point, it may be the lack of a setTag implementation (NSActionCell implements it, but NSCell doesn't). Well, NSCell probably does have an implementation that is throwing an exception which produces the message in Console.

NSCell's implementation will raise a NSInternalInconsistencyException. That is what is generating the "Stub implementation of -setTag by NSCell does nothing" in Console when attempting to alt-drag.


I'll be experimenting later on with providing a setTag in my NSCell subclass. I want to first read up on it to understand what I should do in that method.

One of Apple's example (ProgressViewPalette) actually does implement accessors for a tag iVar. It also encodes/decodes it in the NSCoding methods.


I've done the same and now my widgets work a-ok. Alt-dragging lives once again :)

BTW, I've been sending all this info into DTS. I filed an incident just before I found this setTag fiasco. But, it will be helpful to get their input on all this; after all, it could be a bug in IB :)

Definitely wasn't an IB bug.

I need to head out for a bit, but will follow up on this thread with the minimal implementation one needs to do when deriving directly from NSCell.

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Lost ability to alt-drag IB items [Solved]
      • From: Ricky Sharp <email@hidden>
References: 
 >Lost ability to alt-drag IB items (From: Ricky Sharp <email@hidden>)
 >Re: Lost ability to alt-drag IB items [semi-solved] (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: Zooming images in NSView
  • Next by Date: Re: Aqua icons from system fonts
  • Previous by thread: Re: Lost ability to alt-drag IB items [semi-solved]
  • Next by thread: Re: Lost ability to alt-drag IB items [Solved]
  • Index(es):
    • Date
    • Thread