Learning Swift — Days 111-113

Review of the Swift Programming Language Day 111 Repeat-while loops Conditional Statements If (in case conditions are not complete, no action will be taken and this is fine) Switch (this has to be exhaustive instead) No Implicit Fallthrough Tuples: when using tuples inside switch blocks we can use the wildcard pattern (_ in place ofContinue reading “Learning Swift — Days 111-113”

Learning Swift — Days 108-110

Review of the Swift Programming Language Day 108 Crazy, crazy day today… I can’t find the time to do extra things… I am mentally exhausted. Nevertheless… here is what I could review today: Numeric Type Conversion Type Aliases Booleans Tuples Optionals Error Handling Assertions and Preconditions (I would like to see more practical examples ofContinue reading “Learning Swift — Days 108-110”

Learning Swift — Day 107

Day 107 — starting with it. Basic start As Paul said, let’s start simple and build something that we are sure it is working, then move on from there. I will write down all of the passages so that it is easy to follow. The first iteration of the project is an emoji concentration cardContinue reading “Learning Swift — Day 107”

Learning Swift — Day 106

Recap and reflections on Days 104-5 I could not find the time to write anything yesterday but, as usual, I take my Sunday(s) off if I can — no religious matter, just in a deeply religious country you have to choose the same day when the other people stop! Day 104 was a great oneContinue reading “Learning Swift — Day 106”

Learning Swift — Day 104

Hacking with Swift — Learning Project 30 This project will be about learning how to use Instruments for the first time and to debug performance issues. Let’s dive in. Setting up Today we are going to learn about profiling. Profiling is the term used when we monitor performance, memory usage and other information of anContinue reading “Learning Swift — Day 104”