• 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: to store item pointer in NSButtonCell's subclass in NSOutlineView implementation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: to store item pointer in NSButtonCell's subclass in NSOutlineView implementation


  • Subject: Re: to store item pointer in NSButtonCell's subclass in NSOutlineView implementation
  • From: Nick Rogers <email@hidden>
  • Date: Sun, 6 Apr 2008 14:19:47 +0530

Hi,
OR better yet is there a way to store the cell's pointer in my item.

On 06-Apr-08, at 2:14 PM, Nick Rogers wrote:

Hi,
I have the first column of NSOutlineView containing NSButtonCell.
I'm setting this in awakeFromNib.
If I subclass NSButtonCell and declare that subClass as the data cell for the column, is there a way to store the item pointer into that subclass?
If yes what method should I over-ride in NSButtonCell?


Wishes,
nick

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >to store item pointer in NSButtonCell's subclass in NSOutlineView implementation (From: Nick Rogers <email@hidden>)

  • Prev by Date: to store item pointer in NSButtonCell's subclass in NSOutlineView implementation
  • Next by Date: Re: Scaling a window background image quickly
  • Previous by thread: to store item pointer in NSButtonCell's subclass in NSOutlineView implementation
  • Next by thread: Saving AttributedString with Attachments to RTFD
  • Index(es):
    • Date
    • Thread