I want to create a unit for a workout routine.
I call the unit "routine". The user gets a name for each day (example 1) chest day, 2) back day, 3) day of foot, etc to enroll with UILLurt. And these days every day there will be a list of those exercises which they like to be done on that day.
I have all the exercises stored in a dictionary in a dictionary right now.
I need help in preserving characteristics etc. for the routine.
I am thinking of getting a specialty for the day (where she gives the name of the day) and then she says where I got stuck. I suppose that a dictionary or an array is estimated to be used to capture the practice of that day, but it can not be done in core data. Do not think in terms of dictionaries or array, think of objects in terms of things you can use in your vocabulary / Thinking of putting in the array, a real exercise is being done as part of regularity of one day, right? So you need an internal name for it; "Exercise" does not really work because it's a description of the work you did, do not, and "representative" is only one Edit : You've used the term "set" That is understandable, so I will also use it. Then your data model looks like this: Where day < ----- & gt; & Gt; Set
& lt; is an "one" relationship and
& gt; & Gt; Similarly, you understand that an object is related to several copies of another object, effectively getting arrays and dictionaries.
Comments
Post a Comment