I have a view controller with generic interface elements that needs to load in a menu view. I have created a custom UIView called MenuView.h
and MenuView.m
and built all the views in it using code. However, I'd much rather set out the views in a .xib file so that I can lay them out more easily.
I do know about the whole loadNibNamed
in order to load a nib/xib file into my custom UIView, however what I don't understand is how I can wire up some IBOutlets to the loaded nib.
Does anyone have any pointers to how this is done please?