My First macOS App – A Widget for MailChimp
How to create custom tab bar in Swift: part 2
How to create custom tab bar in Swift: part 1
Made my first iOS library
Using global constants in Swift
If you’re using Swift, you probably know how to create constants:
|
1 |
let number: Int = 5 |
It’s good practice to use constants instead of variables whenever possible. Since their value can’t be changed afterwards, it’s much safer and compiler can make optimizations if the system knows certain data won’t change….