0

I want to create one .h and .m class for multiple .xib like template. is it possible ? an if yes then how to use one .h an .m file for multiple xib ?

Quentin Hayot
  • 7,640
  • 6
  • 47
  • 60

1 Answers1

1

You sure can! :D you'll just have to load the xib file with -initWithNibFile:bundle:. And in each of the xib's make sure the File's Owner class is set to the view controller of the .h .m

I hope this is what you're looking for :)

ErickES7
  • 550
  • 6
  • 16