Core Data retrieve relationships

Discussion in 'iOS Programming' started by Hackmodford, Oct 13, 2010.

  1. Hackmodford macrumors newbie


    Aug 19, 2010
    Okay i'm pretty new to all of this but right now I'm trying to wrap my head around core data.

    Right now I'm just trying to make a simple drill down type app using core data as the DB

    So I have an entity called Apartments with two attributes "number" "timeStamp" and a one-to-many relationship called checklist with the cascading delete rule.

    Then I have another entity called "Checklist" with attributes like "name" "timeStamp" etc.

    Basically how do I list the Checklists under a specific Apartment in my view controller?

    This has something to do with the fetchrequest right? I've seen dot notation used in the fetchrequest key is that what it's for?
  2. chown33 macrumors 604

    Aug 9, 2009
    Sailing beyond the sunset
    From the "Core Data Tutorial for iOS"

    Core Data is not an entry-level technology.
    Documents you should read to gain adequate experience include:
    Your First iOS Application
    Xcode Workspace Guide
    Cocoa Fundamentals Guide
    View Controller Programming Guide for iOS
    Table View Programming Guide for iOS
    Underline added for emphasis.
  3. Hackmodford thread starter macrumors newbie


    Aug 19, 2010
    I have a good grasp on how to use the views and and how the tableviewcontrollers work.
    And yeah... Core Data is definatley not an entry level item.
    I'm almost leaning to just using SQLite it seems to be alot easier to grasp IMHO

    what do you think?

Share This Page