Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sebastijan

macrumors member
Original poster
May 22, 2005
62
2
London, UK
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!
 
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!

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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.