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 10-11-2011, 03:37 PM   #1 (permalink)
Registered Member
 
Join Date: Oct 2011
Posts: 9
ahan.tm is on a distinguished road
Default Core Data Integration

I am using core data(from the CoreDataBooks sample code) to manage people in my app(Using a tableview). When the user adds a person in the tableview in the flipside(Utility Application), I want the name to appear in the label on the MainViewController. Also, I would like to have the different people switchable with a Page Control/Swipe(I would swipe to switch between the people in the front).

How can this be completed?
My entity is named child.



Thanks
ahan.tm is offline   Reply With Quote
Old 10-11-2011, 09:10 PM   #2 (permalink)
Senior Member
iPhone Dev SDK Supporter
 
Join Date: Jan 2010
Location: Issaquah, WA
Age: 42
Posts: 1,244
dljeffery is on a distinguished road
Default

Can you elaborate on what issues you have been running into? You mention starting from the CoreData Books sample, but you don't indicate what problems, if any, you are having translating it into your own app.
__________________
Recall It! Tag your notes. Tag your photos. Tag your thoughts. Tag your life.

Recall It! for iPad

http://www.dljeffery.com
dljeffery is offline   Reply With Quote
Old 10-12-2011, 03:04 PM   #3 (permalink)
Registered Member
 
Join Date: Oct 2011
Posts: 9
ahan.tm is on a distinguished road
Default

Quote:
Originally Posted by dljeffery View Post
Can you elaborate on what issues you have been running into? You mention starting from the CoreData Books sample, but you don't indicate what problems, if any, you are having translating it into your own app.
Okay, I have the coreDataBooks sample Tableview setup, but now in a different view, i would like a label to display the attribute: name.

I was wondering if I would use a FetchController?
ahan.tm is offline   Reply With Quote
Old 10-13-2011, 11:28 AM   #4 (permalink)
Senior Member
iPhone Dev SDK Supporter
 
Join Date: Jan 2010
Location: Issaquah, WA
Age: 42
Posts: 1,244
dljeffery is on a distinguished road
Default

Still not really clear on what you are trying to do, or what is not working.

If your second view is just displaying the data for a single record (kinda sounds that way), then just pass in the NSManagedObject from the table cell that pushed the view.
__________________
Recall It! Tag your notes. Tag your photos. Tag your thoughts. Tag your life.

Recall It! for iPad

http://www.dljeffery.com
dljeffery is offline   Reply With Quote
Old 10-13-2011, 04:06 PM   #5 (permalink)
Registered Member
 
Join Date: Oct 2011
Posts: 9
ahan.tm is on a distinguished road
Default

That is what I want to do, but a tableview cell does not push to the new view, there is a done button, and the user needs to swipe(Page Control) to switch between the records.
ahan.tm is offline   Reply With Quote
Reply

Bookmarks

Tags
core data, page control

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: 401
17 members and 384 guests
13dario13, 7twenty7, buggen, eski, EvilElf, glenn_sayers, LunarMoon, morterbaher, n00b, pbart, Pudding, QuantumDoja, sacha1996, Sami Gh, UMAD, VinceYuan
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,673
Threads: 94,122
Posts: 402,906
Top Poster: BrianSlick (7,990)
Welcome to our newest member, morterbaher
Powered by vBadvanced CMPS v3.1.0

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