Tag: optional parameters
-
Lightning tour of functions in Swift
Check out this video tutorial with a lightning tour of functions in Swift. It covers: Parameter default values Optional function parameters Overloading a function If you’re interested in more of these sorts of…
-
Parameter defaults and Optional Function Parameters in Swift 3.0
There are more changes in Swift 3.0 to Optional Function parameters, so I thought I should revisit this blog post. Functions no longer include the name of the first parameter in the function…
-
Parameter defaults and Optional Function Parameters in Swift 2.0
This post has been updated for Swift 3.0 here. This post has been updated for Swift 3.0 here. There are some changes in Swift 2.0 to Optional Function parameters, so I thought I should…
-
Parameter defaults and Optional function parameters in Swift
This post has been updated for Swift 3.0 here. This post has been updated for Swift 3.0 here. Swift has an interesting multi-pronged approach to dealing with default and optional function parameters, based in…
-
Optional parameters in methods in Objective C
Methods in Objective C are actually called messages but they’re often referred to as methods, a more commonly used terminology. Optional parameters are treated in an interesting way in Objective C. Basically…

