Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-20-2012, 05:32 PM   #1 (permalink)
Registered Member
 
Join Date: Nov 2011
Posts: 105
jasonbfly is on a distinguished road
Default Save NSString from user

Hey, so once again I am stuck
I have a string inputed from a user, and I would like to save them. And than be able to display those Strings in a table View Cell, on the a separate View
I have a View, that will hold my TableView, a button on the header that opens a new view, and the string is created there. There is a save button and i would like that string from View 2, to be displayed on the first View
Any Ideas?
And as always, any help is greatly appreciated
-Jason
jasonbfly is offline   Reply With Quote
Old 01-21-2012, 01:24 AM   #2 (permalink)
Registered Member
 
2WeeksToGo's Avatar
 
Join Date: Nov 2011
Posts: 227
2WeeksToGo is on a distinguished road
Default

I was on the same question a few months ago, wasted almost 2 weeks, searched the internet..... I did it yes for ints strings, objects so on so on.

Now that I look at it I laugh.. if I only read some books about programming DURING coding.....

SO you want to know how this is done? I will point you to the right book

Beginning IPhone Games Development - GOOGLE IT.

Do not give me attitude since I'm not just throwing you a piece of code, this will do you some good

Last edited by 2WeeksToGo; 01-21-2012 at 01:29 AM.
2WeeksToGo is offline   Reply With Quote
Old 01-21-2012, 09:43 AM   #3 (permalink)
Registered Member
 
Join Date: Nov 2011
Posts: 105
jasonbfly is on a distinguished road
Default

Quote:
Originally Posted by 2WeeksToGo View Post
I was on the same question a few months ago, wasted almost 2 weeks, searched the internet..... I did it yes for ints strings, objects so on so on.

Now that I look at it I laugh.. if I only read some books about programming DURING coding.....

SO you want to know how this is done? I will point you to the right book

Beginning IPhone Games Development - GOOGLE IT.

Do not give me attitude since I'm not just throwing you a piece of code, this will do you some good
LOL, thanks I will give it a try, though i have already tried google a lot :P but i havnt tried it with that search, so i will give it a try Thanks

EDIT:
all i can find is information on this book, i searched the title and than "saving" and still didnt get anything lol. Are you suggesting I buy the book? lol cause i would like to do this with out having to pay for the book

Last edited by jasonbfly; 01-21-2012 at 11:34 AM. Reason: Added info
jasonbfly is offline   Reply With Quote
Old 01-27-2012, 05:57 PM   #4 (permalink)
Registered Member
 
Join Date: Nov 2011
Posts: 105
jasonbfly is on a distinguished road
Default

Hey, so I was wondering if there was any other advise or help for what i wanted to do? Thanks
- Jason
jasonbfly is offline   Reply With Quote
Old 01-27-2012, 06:41 PM   #5 (permalink)
Registered Member
 
Join Date: Dec 2010
Location: Seattle, WA
Posts: 408
RickSDK is on a distinguished road
Default

You can pass strings, int and other objects from view controller to view controller when you push or pop the collers:

detailedViewController.myString = @"Hi";

or if you want to save it premamently, use userDefaults.
__________________
Check out my apps

RickSDK is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 390
10 members and 380 guests
7twenty7, Atatator, FrankWeller, glenn_sayers, guusleijsten, iphonedevshani, MAMN84, QuantumDoja, tim0504, VinceYuan
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,674
Threads: 94,122
Posts: 402,907
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Atatator
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:46 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0