One xib, multiple classes without inheritance in iOS?

I have two classes and one xib. I can't simply use one parent class which will be linked with this xib because it means multiple classes (and of course it is not acceptable for me to insert an object of one parent class into the object/class of the another one).

So is it possible to link multiple classes with one xib if they have the same IBOutlet variables but fully different classes?

-------------Problems Reply------------

No, Its not possible to assign multiple classes to one single XIB.

Instead create multiple UIView & load it on one single XIB controller

Category:ios Views:3 Time:2018-10-15

Related post

Copyright (C), All Rights Reserved.

processed in 0.238 (s). 11 q(s)