I use the following class and dictionary. The problem I have is that I get limited by the length and XCode does not allow me to give more then 180 references for my restaurant:
class RestaurantTableViewController: UITableViewController {
var restaurants:[Restaurant] = [
Restaurant(name: "le", type: "the", location: "Le printemps est de retour", image: "a001.jpg", isVisited: "Spring is back", sound: "1", image2: "1.jpg"),
Restaurant(name: "de", type: "of", location: "Un verre de vin", image: "a002.jpg", isVisited: "A glass of wine", sound: "2", image2: "2.jpg"),
Restaurant(name: "un", type: "a", location: "Un ticket de bus", image: "a003.jpg", isVisited: "A bus ticket", sound: "3", image2: "3.jpg") ....
}
My question is: How can I expand my dictionary ? I have a thousand reference that I want to put in a table so people can pick the one they want.
I hope my question make sense otherwise I can clarify.