core data starter doubt

Discussion in 'iOS Programming' started by chhoda, Nov 3, 2013.

  1. chhoda macrumors 6502

    Oct 25, 2008
    hi all,

    i am starting with coredata and hence confused.

    i am able to understand one table db with managedcontext managedobjectmodel etc.

    but my requirement is that i hv 2 tables 1 table (username password) and 2nd table (first, last, middel name of the user)

    i can create 2 entities and set a cascade relationship and reverse relationship between them.

    my confusion is how will the code look like for example when i try to get data for one particular user ?
  2. MattInOz macrumors 68030


    Jan 19, 2006
    What material are you using to learn Core Data?

    If I understand what you are asking then it should be well covered in most intro to core data tutorials. I know books like BNR will break it up to a couple of chapters but they do cover this level of detail. as well as some of the better core data tutorials around the web.

    If you are getting serious about core data and have a good programming background then it might be worth getting one of the dedicated books which should cover what you are after in early chapters but round out with neat power tips on predicates and performance.

Share This Page