I have a xib created by following guide (How do I create a custom iOS view class and instantiate multiple copies of it (in IB)?) but I have a question:
how can I instantiate if from code?
So what should I write in viewDidLoad instead of
self.myView = [[MyView alloc] initWithFrame:self.view.bounds];
I know how to instantiate it with storyboard, but I have no idea how to do it from code. Thanks!