Core Data

Discussion in 'Mac Programming' started by sebastijan, Jun 30, 2009.

  1. macrumors member

    Joined:
    May 22, 2005
    Location:
    London, UK
    #1
    Hi everyone!

    I use Core Data and I want to do below, but I do not know how. Can you help?

    So, how to make two tables and when you click on the row in table B, data fields are transferred to the new row in table A.

    Thanks in advance!
     
  2. macrumors newbie

    Joined:
    Feb 26, 2008
    #2
    I'm at work right now, and I have none of my code with me but...

    can't you just do a fetch from one table and an insert the context/entity for the other?

    entity = a fetchrequest
    insertNewObjectInEntity -> new context

    or the like?


    I'm pretty sure there's a way to do this with bindings though... but good lord I hate bindings
     
  3. thread starter macrumors member

    Joined:
    May 22, 2005
    Location:
    London, UK
    #3
    dj.mooky, thanks for your reply.

    it is possible that you or someone else make example of this?
     

Share This Page