Hi guys,
Hopefully I can explain this properly...
I'm making a cookery application, and I have a view that lists the recipes, then on the next view (after selecting the recipe) is a view with a picture of the final product, some info about the recipe (time, difficulty, cost etc), and then there is a table view that will have the instructions on it.
I don't have separate view controllers for each recipe page, I just have one. Can I create an array for each recipe, and then whichever recipe is selected, the corresponding array gets put onto the table view, same thing with the images etc. Is this the easiest way to do it? Does this even make sense? Hopefully it does.
Thanks!
p.s. in case you didn't realise, I'm a complete noob. apologies in advance if i say (or have said!) something stupid.
Hopefully I can explain this properly...
I'm making a cookery application, and I have a view that lists the recipes, then on the next view (after selecting the recipe) is a view with a picture of the final product, some info about the recipe (time, difficulty, cost etc), and then there is a table view that will have the instructions on it.
I don't have separate view controllers for each recipe page, I just have one. Can I create an array for each recipe, and then whichever recipe is selected, the corresponding array gets put onto the table view, same thing with the images etc. Is this the easiest way to do it? Does this even make sense? Hopefully it does.
Thanks!
p.s. in case you didn't realise, I'm a complete noob. apologies in advance if i say (or have said!) something stupid.