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
?
Asked
Active
Viewed 74 times
0

Quentin Hayot
- 7,786
- 6
- 45
- 62

bhumi gajjar
- 67
- 6
1 Answers
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
- 558
- 6
- 16