Cocoa touch - creating view template for iPad
- by teepusink
Hi,
This is kinda a hard question to describe.
I'm just starting to make an iPad app.
Now with the amount of real estate I have, I'm planning to have different but similar "views" to populate the space. (might be easier to think a newspaper site, where many of the columns are similar)
I would like to create a "view template" so I can reuse the view in the different spots.
Is it possible to design the view template in Interface Builder? (meaning I design the UIView in Interface Builder and then somehow I can just do [window addSubview:viewController.viewTemplate1]; multiple times?
If so how would I load that view template in the different places?
If you know of an example code / tutorial that does something similar, that would work too.
Thanks,
Tee