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 09-12-2010, 09:30 AM   #1 (permalink)
b.dot
 
Join Date: Mar 2010
Location: New York, NY
Posts: 2
b.dot is on a distinguished road
Default Traversing a Relationship Based Upon an Existing Objects



Hi All,

I have an existing fetchedResultsController representing objects previously fetched for the entity EventLocations. I am trying to figure out how to return a list of unique EventCategories based upon the exiting EventLocations. I can figure out how to do this with one object, but how do I get all of the Events related to the existing selection of objects in EventLocations and then all of the EventCategories related to Events? I realize that there is no join in Core Data. Will I need to iterate through each object? valueForKeyPath?

Can anyone post a link to a specific example or lead me in the right direction? I've been trying to find a more specific example in the documentation, and I seem to end up in areas totally unrelated to this.

Thanks, b.
b.dot is offline   Reply With Quote
Reply

Bookmarks

Tags
core data, fetchedresultscontroller, iphone, relationships

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: 344
10 members and 334 guests
cgokey, givensur, iGamesDev, jenniead38, linkmx, mraalex, PixelInteractive, raihan.zbr, Trickphotostudios
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,657
Threads: 94,116
Posts: 402,889
Top Poster: BrianSlick (7,990)
Welcome to our newest member, jenniead38
Powered by vBadvanced CMPS v3.1.0

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