Listen "016 iOS Development 10 Rules"
Episode Synopsis
In today's session we would be coving the ground rules for iOS developers while writing the swift code.
We will discuss from adding comments to your code to writing extensions and protocols.
Use of Guard Statement
Documenting you code
Type Inference
Final keyword for the classes
Why you should have `struct` as default
Always start with immutable variable when you're not sure about the mutability of it
Use self wisely or avoid using it where-ever you can
Avoid Free functions
Avoid Force unwrap and implicitly unwrapped Optional
Use HIGH Order function but don't force them
**BONUS**: Use trailing Closure syntax
Reach out me:
twitter: @gouravnayyar
youtube: https://www.youtube.com/gouravnayyar
We will discuss from adding comments to your code to writing extensions and protocols.
Use of Guard Statement
Documenting you code
Type Inference
Final keyword for the classes
Why you should have `struct` as default
Always start with immutable variable when you're not sure about the mutability of it
Use self wisely or avoid using it where-ever you can
Avoid Free functions
Avoid Force unwrap and implicitly unwrapped Optional
Use HIGH Order function but don't force them
**BONUS**: Use trailing Closure syntax
Reach out me:
twitter: @gouravnayyar
youtube: https://www.youtube.com/gouravnayyar
More episodes of the podcast The iOS Dev Podcast
023 Apple's "Spring Loaded" Event
16/04/2021
022 Namespaces in Swift
09/04/2021
021 macOS Big Sur
28/06/2020
020 Protocol Oriented Programming
20/05/2020
019 Way to Swift 6
17/02/2020
018 Hello CATALINA 🤝
04/06/2019
017 Weak Vs Unowned Reference
11/04/2019
015 OAuth 2.0
14/03/2019
013 ABI Stability with SWIFT 5
27/02/2019