Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Terenc3

macrumors member
Original poster
Jul 15, 2010
35
0
I am trying to create an application form app. Basically, there will be a view (Summary) that will draw String Datas from 2 different views (Login and Fill-up Form) and summarise them in the Summary view.

----

The flow is:
User -- (Login: Userid) > Menu Screen [Select Application Form] > User Fill-up Application Form via Textfields then select done > Summary View.

This summary screen need to draw the info from Login View (UserID) and all the info from Fill-up Form View (All Text Fields); so that it could display all information for checking.

----

Anybody could give me a guideline on how to do this? I have been trying for a number of days but I just can't get it. =(

A tutorial was found, but it is not for storyboarding, hence I tried and it didn't work..

Thanks in advance!!
 
Last edited:

chown33

Moderator
Staff member
Aug 9, 2009
10,767
8,468
A sea of green
One way is to use NSUserDefaults to store the data in one view, then get the data from NSUserDefaults in another view. This is not the only way. It's not even the best way. It's just one simple way, and is suitably simple for an equally simple use of storyboards.

See these articles:
http://stackoverflow.com/questions/8142011/how-to-save-user-login-data-using-storyboards-in-ios5

http://stackoverflow.com/questions/...utes-before-its-conditional-variables-are-set

Google search terms:
ios storyboard userdefaults
ios storyboard nsuserdefaults
 

Terenc3

macrumors member
Original poster
Jul 15, 2010
35
0
One way is to use NSUserDefaults to store the data in one view, then get the data from NSUserDefaults in another view. This is not the only way. It's not even the best way. It's just one simple way, and is suitably simple for an equally simple use of storyboards.

See these articles:
http://stackoverflow.com/questions/8142011/how-to-save-user-login-data-using-storyboards-in-ios5

http://stackoverflow.com/questions/...utes-before-its-conditional-variables-are-set

Google search terms:
ios storyboard userdefaults
ios storyboard nsuserdefaults

Thanks! Will see thru that and try understanding it. =) :D
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.