|Jul 1, 2009, 12:40 PM||#1|
managedObjectModel relationship question(core data)
So... I am using bindings, that I learned from reading/watching tutorials for an older version of IB. I know I am the one screwing up on this one I just do not know where, or what to do.
I've got two entities basically
Player and Hand
There's a too many to too many relationship going on here, with appropriate restrictions
I have two tables set up, one with names of all Players, and the other is currently just a list of every number associated with a hand
How is it I make my (hand)second table ONLY show data associated via relationship to a player?
EG: I click on me(dj.mooky) I am not interested in viewing a Hand that does is not associated to the selected Player.
I've got it all set up in bindings like I said
This will be just tremendously helpful once I get the real statistical engine of my app going where I'll suddenly have 5-6 entities instead of just the two during the alpha proof of concept phase.
Current setup is table 1 is bound to Player showing value userName
I know table 2 is setup wrong, but it is bound to Hand showing value handNumber
Thanks in advance
|Jul 2, 2009, 04:56 PM||#2|
|Jul 3, 2009, 10:58 AM||#3|
This is good though... learning to spot my mistakes, and finding out what they are is an amazing thing
When I attempt doing it as you suggested, it gives me a KVC error
I'm currently doing a search to figure out exactly what my error is, I've seen it online, I just did not know how vital it was at the time. I'll post a link in here when I find it incase anyone else ever has this problem.
|Jul 4, 2009, 02:44 PM||#4|
So, I think I have found my problem... I don't have time to test it out, however I did not take the time to define the properties in my .h file..
a la: http://developer.apple.com/documenta...orMethods.html
Going to be a long long day tomorrow
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Core data relationship||cpuin||Mac Programming||0||Oct 14, 2013 03:55 PM|
|Core Data One to Many Relationship||zyzz12||iOS 6||0||Jul 30, 2013 12:14 PM|
|Having an issue passing data between views with Core Data.||iJustinCabral||iPhone/iPad Programming||0||Jul 15, 2013 09:50 PM|
|Core data relationship fault : null key||ramy1989||Mac Programming||0||Nov 7, 2012 03:19 PM|
|How to create a core data with more than 1 table with relationship?||kimbebot||iPhone/iPad Programming||3||Jul 31, 2012 02:42 AM|
All times are GMT -5. The time now is 11:26 AM.