iphone - Merging single view app to a storyboard -
this first application multiple views.
i have app uses storybord (main app), , app single viewcontroller , nib file.
i merge singleview app part of main app. there way it? how add nib, , attach viewcontroller?
*also please state if it's not recommended or not.
please let me know if more info needed.
you copy whole view controller xib of "single nib" project storyboard project.
- select "view controller" in xib of single nib project shown in image below , press cmd+c.
- open storyboard , press cmd+v. view controller xib should copied shown in image below.
- now should copy viewcontroller.m , viewcontroller.h (or whatever called) files single nib project.
open finder, find files , drag them storyboard project in xcode (somewhere in project navigator). sure select items shown in following image when copy dialog prompted.
now should reconnect outlets , actions copied view controller .h (cmd + drag storyboard .h file - should familiar process)
and build see if working.
Comments
Post a Comment