Episode Synopsis "016 iOS Development 10 Rules"
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
Listen "016 iOS Development 10 Rules"
More episodes of the podcast The iOS Dev Podcast
- 023 Apple's "Spring Loaded" Event
- 022 Namespaces in Swift
- 021 macOS Big Sur
- 020 Protocol Oriented Programming
- 019 Way to Swift 6
- 018 Hello CATALINA 🤝
- 017 Weak Vs Unowned Reference
- 016 iOS Development 10 Rules
- 015 OAuth 2.0
- 014 Bring your Swift code to the Next Level - 5 Tips
- 013 ABI Stability with SWIFT 5
- 012 Universal links
- 011 Enumeration Vs For Loop
- 010 Static vs Class Keyword || Swift
- 009 Deep Copy vs Shallow Copy
- 008 OptionSet Protocol | Swift
- 007 Struct vs Class - Swift
- 006 Access Specifier | Objective C
- 005 - Stack Vs Heap | Swift
- 004 - Reference and Value types | Swift
- 003 - SINGLE SIGN ON - SSO
- 002 - Access Controls | Swift
- 001 - SOLID Design Principles | Swift