I have created the demo project which describes how to create a custom view and load it from NIB to another NIB