• 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: Use of cells with custom controls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use of cells with custom controls


  • Subject: Re: Use of cells with custom controls
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 28 Jul 2009 20:46:37 -0400

On Jul 28, 2009, at 8:10 PM, Chase Meadors wrote:

I'm making my own class that will input a variety of data in different formats, and NSTableView really seems clunky and unsuited for my purposes.

In what way? What are you trying to do?


I'm trying to make a custom control, but I don't quite understand what I need to do to use cells in it.
...
However, I'm not sure how I should implement the mouse event methods to get the correct behavior in the cells. Do I test the point of the event, see if it's in a cell, and call some method on that cell to make it active? Is there an easier way?

Read the documentation:

http://devworld.apple.com/documentation/Cocoa/Conceptual/ControlCell/ControlCell.html

--
I.S.




_______________________________________________

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: 
 >Use of cells with custom controls (From: Chase Meadors <email@hidden>)

  • Prev by Date: Re: NSWindow reference remains null after window did load
  • Next by Date: NSSplitView autosave troubles
  • Previous by thread: Use of cells with custom controls
  • Next by thread: NSSplitView autosave troubles
  • Index(es):
    • Date
    • Thread