Learning Swift — Days 123-124

Swift Language Reference Day 123: Declarations (cont.) Special Kinds of Parameters: parameters can be ignored, take a variable number of values, and provide default values. An underscore (_) parameter is explicitly ignored and can’t be accessed within the body of the function. A parameter with a base type name followed immediately by three dots (…)Continue reading “Learning Swift — Days 123-124”

Learning Swift — Days 120-122

Swift Language Reference Day 120 part 2 Let’s now delve into the Language Reference. It should not be too long before I can start building apps again! Lexical Structure The lexical structure of Swift describes what sequence of characters form valid tokens of the language. These valid tokens form the lowest-level building blocks of theContinue reading “Learning Swift — Days 120-122”