Swift 5

22 04, 2019

Typo in Apple Docs 😲 – Fixed within a Couple of Hours

By |2019-04-22T21:17:12+00:00April 22nd, 2019|Swift 5, Uncategorized|0 Comments

First typo I've encountered in Apple developer docs since 2009. ;)Update: they fixed it almost instantly! https://twitter.com/knyisztor/status/1120344158365990915https://developer.apple.com/documentation/swift/result 

11 03, 2019

5 Tips to Bring your Swift Code to the Next Level

By |2019-03-11T22:55:30+00:00March 11th, 2019|Swift 5, Swift Programming|0 Comments

Alright, so here are five tips that can make your Swift code look more professional. Tip#1 Follow Apple’s naming conventions. If you have worked with other programming languages, it might be tempting to use the naming and coding style you’re used to. However, Swift has its own naming rules, so do your best to apply them. As the saying goes: “When in Rome, do as the Romans do.” Apple provides more details and examples in their API design guidelines. The bottom line is this: name your protocols, functions, types, properties, methods, variables, parameters so that their purpose is [...]