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 > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 01-05-2012, 05:46 AM   #1 (permalink)
Registered Member
 
Join Date: Sep 2011
Posts: 5
NidaAliKhan is on a distinguished road
Default Data transfer between two view controllers

i m pretty stuck on this one rite now let me explain the problem this way:

- Motor View Controller (table 1)
- Add New Motor (table 2)
- show motor Detail (View 1)
- edit Motor Detail (table 3)
now what happens is i go to table 1 then click on add button then go to table 2 and add a new motor on table 1 when i click on row of table 1 i go to view 1 where my details are shown in the labels and wen i click the edit button on this view a edit screen pops up now when i edit here i wanna save these details back onto my view 1 how do i do it ?( im using storyboard and all views are connected through segue's ) (basically i want to do edit function so wen the the edit screen comes up i want to see the existing details in my text boxes n den i get to edit dem n den save them back)thank you
NidaAliKhan is offline   Reply With Quote
Old 01-05-2012, 06:20 AM   #2 (permalink)
Registered Member
 
temi's Avatar
 
Join Date: Oct 2011
Posts: 47
temi is on a distinguished road
Default

You may want to use blocks. Check out this tutorial from Matt that explains how to update your List View when changing your detail view

Using Blocks with Table Views | How to Make iPhone Apps


Quote:
Originally Posted by NidaAliKhan View Post
i m pretty stuck on this one rite now let me explain the problem this way:

- Motor View Controller (table 1)
- Add New Motor (table 2)
- show motor Detail (View 1)
- edit Motor Detail (table 3)
now what happens is i go to table 1 then click on add button then go to table 2 and add a new motor on table 1 when i click on row of table 1 i go to view 1 where my details are shown in the labels and wen i click the edit button on this view a edit screen pops up now when i edit here i wanna save these details back onto my view 1 how do i do it ?( im using storyboard and all views are connected through segue's ) (basically i want to do edit function so wen the the edit screen comes up i want to see the existing details in my text boxes n den i get to edit dem n den save them back)thank you
__________________
Your apps don't have to be ugly because hiring designers are expensive.
Click here to fix that ->iPhone App Designs
temi is offline   Reply With Quote
Reply

Bookmarks

Tags
ios, iphone, tableview, xcode, xcode 4.2

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: 409
15 members and 394 guests
bignoggins, BSH, djqbert, Duncan C, epaga, flamingliquid, jbro, jcdevelopments, leighec68, markolo, mrtdmb, omagod, pinacate, revg, taylor202
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,645
Threads: 94,111
Posts: 402,862
Top Poster: BrianSlick (7,990)
Welcome to our newest member, leighec68
Powered by vBadvanced CMPS v3.1.0

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