• 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
Implementing control with multiple cells
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Implementing control with multiple cells


  • Subject: Implementing control with multiple cells
  • From: "Eric Lin" <email@hidden>
  • Date: Sun, 7 May 2006 16:17:42 -0700

I'm trying to create a NSControl subclass contains multiple cells
(NSActionCell subclass).  But my question is, it seems NSControl can only
work with one cell out of the box.  Does it mean I'll need to override
methods like drawRect (to call drawInFrame:) and mouseDown (to call
trackMouse:) to support multiple cells?  And also instantiate the cells
myself as opposed to overriding +cellClass.

Thanks,
Eric
_______________________________________________
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


  • Prev by Date: Howto access model element from NSTableView selection ?
  • Next by Date: Re: filling NSImage with binary data from NSData
  • Previous by thread: Re: Howto access model element from NSTableView selection ?
  • Next by thread: Re: Implementing control with multiple cells
  • Index(es):
    • Date
    • Thread