learning to create one page apps & adding objects in ios (swift)