colinfwalsh / swift-arrayMethods-lab-ios-0616

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loud Noises

Drawing

When someone tells me "no," it doesn't mean I can't do it, it simply means I can't do it with them. -Karen E. Quinones Miller

Learning Objectives

  • Use the following methods on arrays:
    • append()
    • insert(_:atIndex:)
    • removeAtIndex()
    • subscript syntax with arrays
    • count
    • isEmpty

Instructions

  • Open up the playground file included with this repo and answer the listed questions (which you will find in the playground file) in order.
  • There are no tests associated with this playground file.
  • The following two screenshots are included to assist you in case the file doesn't open right to the main.swift file (which it should by default).
  • Make sure you're working in the main.swift file (which you can view by pressing command + 0):

main

  • Make sure render documentation is checked off which you can do in the Hide or show Utilities pane in the top right:

render

View this lesson on Learn.co

About

License:Other


Languages

Language:Swift 100.0%