I am new to iOS development, and for some reason I can't figure out how to do this even though I realize it has to be simple. I want to create a collection with 2 string values. For instance:
var firstName = "Bob"
var lastName = "Smith"
So the first index would contain ("Bob", "Smith") and so one for each first and last name I want to add to the collection. What object do I use? I tried a dictionary but it seems you have to add your values to that up front, and I need to add my later on programmatically.
var dict = [:]dict["x"] = 4