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.

select view controller

  • open storyboard , press cmd+v. view controller xib should copied shown in image below.

enter image description here

  • 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. enter image description here

  • now should reconnect outlets , actions copied view controller .h (cmd + drag storyboard .h file - should familiar process)

and build see if working.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -