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

chhoda

macrumors 6502
Original poster
Oct 25, 2008
285
1
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 ?
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.