Learning Swift — Days 134 to 135

Hacking with Swift — Learning Project 31 After a good pause where I feel I have almost forgotten everything, it is time to go on and finish this book, before going back, reviewing it all and creating my coding snippets library so that, when my memory will fail, and it will fail, I will knowContinue reading “Learning Swift — Days 134 to 135”

Learning Swift — Days 127-131

Strengthening our skills Day 127 part 2 Xcode Shortcut commands Navigation Area Cmd-0: hides or shows the Navigator Cmd-1…8: cycles through the different navigators Cmd-Option-0: hides of shows the Inspectors Cmd-Option-1…8: cycles through the different (available) inspectors. Cmt-Shift-Y: hides or shows the Debug area Editors Cmd-Option-Enter: invokes the Assistant Editor Cmd-Enter: go back to StandardContinue reading “Learning Swift — Days 127-131”

Learning Swift — Days 125-127

Hacking with Swift — Day 99 — Consolidation Day X Applying MVC to the project An MVC Recap The Model is the what or our application (but not how it is displayed). The Controller is how our model is presented to the user (and represents the UI logic) and the view is our controller’s minions!Continue reading “Learning Swift — Days 125-127”

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”