Use-case:
1. Create a ‘.XiB’ based UI control consisting of several basic UI elements
2. Embed the control @ [1] in eg. a UIViewController
With C#/.NET it is possible to create WinForm controls with specialized UI and then to embed them in other controls, is there an equivalent in Cocoa @ iPhone ?
Any help will be appreciated.
Place
UIViewon one of xib views, select it and go to Identity Inspector and change the class to yours:Note, with this approach the custom view is not drawn at Xib editor, you’ll see it as
UIViewthere. You’ll want to prepare the outlets for the custom view “several basic UI elements”.