My Own Data Type & Code Cake
- Class: a package contains data and functions / blueprint creating an object. - We use class to create objects. - What are objects? -...
More Functions Anyone?
Function with multiple parameters: func invite(guest: String, rsvp: Bool) { print("Dear \(guest), \n") if rsvp { print("See you...
My First Swift Function
- What is a function? Block of code that you use again and again. - What is input parameters? - What is an argument? Let's create a...