0

I've to custom cells each in an seperatea .xib file (and for each of them a seperate .h and .m file)

I need these two custom cells in my tableview (Controller). Thats an seperate file, too.

How is it posible to link the two custom cells to the tableviewController?

Bill the Lizard
  • 398,270
  • 210
  • 566
  • 880

1 Answers1

0

In your cellForRowAtIndexPath method in the data source of the tableview (in many cases the tableview controller instance), load the approprate nib file.

drvdijk
  • 5,556
  • 2
  • 29
  • 48
  • first of all, thanks for your fast reply. mhh, i am really new to that so could you please tell me how to link multiple files? The apple sample code isn't that helpfull. They store all customcells in one controller. –  Jul 02 '09 at 22:50