Welcome to the Treehouse Community
Looking to learn something new?
Joe BlowCourses Plus Student 229 Points
how can insert an item ?
how can insert a new item learn iOS at the second position in the todo array ?
var todo = ["Learn Swift", "Build App", "Deploy App"] todo += ["Debug App","Fix Bugs"] let item = todo.removeAtIndex(2)
Devin Scheu66,191 Points
To do that you would need code that looks something like this:
array.insert(ITEM, atIndex: INDEX)