ios - Passing data between tabs in Xcode 4.3 -
i trying pass data 1 tab in xcode 4.3 struggling work. following video tutorial on youtube , goes fine until end. uses older version of xcode (i using xcode 4.3.1) cant find way achieve does.
here video:
http://www.youtube.com/watch?v=4wowsgstzo0
between 5:40 , 6:30 opens mainwindow.xib , control drags app delegate 2 views wants share data between , completes work. can't find way achieve in version of xcode using storyboards, can point me in right direction?
depending on kind of data trying pass around, can store in app delegate , pull there out of each view controller.
you can access app delegate anywhere in application this:
[[uiapplication sharedapplication] delegate].whateverproperty
you need import app delegate header file files this.
Comments
Post a Comment