ios - Xcode Using XIBs to move non-modally to view controllers -


i have first app, uses storyboard. first view, can 8 model views deep before returning start.

i think using xibs (not storyboards) better application. learn how views in code books , tutorials treat code black plague. hard learn if no 1 teaches anymore.

my concern 8 deep modal string of views memory consumed each view , not released until fall start - releasing each 1 fall back.

my application state machine (so want simple move 1 view another), releasing aspects of view being left. move 1 state next, release current view move next one.

can point me in right direction?

thanks.

you have couple of choices. create custom container controller (which exist life of run), , switch out controller embedded in it. long have nothing pointing 1 replace, deallocated.

a simpler solution, 1 don't use, replace window's root view controller next controller want go to, cause replaced 1 deallocated.


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -