while learning more about Xcode I’m understanding the Model, View, Controller concept.
And that the Model is the start of it all.
In one script i’m working on it is dealing with a bunch of different groups of data.
Each of these Entities (Groups) will have a simple one to one relationship with each
item it contains that I’d like to have a reference to.
I will be using either Dictionaries or Records to for each item in each Group.
I would like to be able to find items in data that match the value of two records in each item.
And then get the index of those items and I can go from there.
The different Data container options:
Looking into CoreData Modeling seems like it’s going to be a bit more of a learning curve
for me at this point and seems like it will require some ObjC programming.
I’ve looked into Sqlite and Shane’s Library and this seems great. But again will take me
a bit of learning curve for me to apply this.
I’m leaning towards NSArray and NSDictionary and using Predicate Filtering
and some of BridgePlus’s functions on finding index’s.
In Xcode I Array and Dictionary Controller Objects available for Interface Builder.
Will I be able to use those?
Any advice on above?
Regarding the relationships:
I’m thinking that they way to establish this is to use
(borrowing from XML and Sqlite terms) a “Key” or “Primary Key” , “Parent Key” etc.
So would it make sense to just add a few additional Dictionary Keys to my Items
that include Values I need about the items relationships?
thanks