• 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: Subclassing cells?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subclassing cells?


  • Subject: Re: Subclassing cells?
  • From: "Theodore H. Smith" <email@hidden>
  • Date: Fri, 5 Aug 2005 16:02:25 +0100

From: Chris Moore <email@hidden>

I have custom cell/control subclasses of their respective cocoa
classes.  I added a base class instance to the nib and set it to my
custom class.  Then, in the control class's +initialize method I
tried to [self setCellClass:[MyCellClass class]].  Setting a
breakpoint in the control's +initialize method it stops, but I never
reach any breakpoints in my methods for my custom cell class.

Thanks for any tips.

I use setDataCell, or just set the cell in IB. You can set cell types in IB, via the custom class tab of the inspector.



--
http://elfdata.com/plugin/ Industrial strength string processing, made easy.


"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."

_______________________________________________
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: PDFKit questions
  • Next by Date: Re: Core Data Based Application Bug?
  • Previous by thread: Subclassing cells?
  • Next by thread: NSLayoutManager strangeness [solved]
  • Index(es):
    • Date
    • Thread