I'm not exactly sure what I am looking for, so I'm just going to give you an example...
Inside App
Lets say I am making a shopping list app. In the app, you can create as many shopping lists as you like, and in those shopping lists, you can add items to the list.
Inside Code
So basically, I'm trying to create a new array of items within an array of shopping lists. How do I do that? Here is my code if I have a set shopping list app. But how do I allow the user to create new shopping lists (In code, A new array)?
//users can keep on appending this array every time they create a shopping list
var shoppingListsArray:[String] = ["Shopping list 1", "Shopping list 2", "Shopping list 3"]
var contentsOfShoppingList1 = ["Item1", "Item2", "Item3"]
var contentsOfShoppingList2 = ["Item1", "Item2", "Item3"]
var contentsOfShoppingList3 = ["Item1", "Item2", "Item3"]
When the user creates a new shopping list and appends the 'shoppingListsArray', how do I create a new array of the contents of that shopping list?
I hope I did a good job explaining my question. Please feel free to edit this question or leave a comment if you don't understand something.