Optimizing Swift Code for Separation of Concerns and Simplicity
Offered By: try! Swift Conference via YouTube
Course Description
Overview
Explore techniques for optimizing Swift code to enhance separation of concerns and simplicity in this 21-minute conference talk from try! Swift Tokyo 2018. Dive into practical examples demonstrating how to improve code comprehension by separating what code does from how it does it. Learn about code reviewing, reducing duplication, extracting logic, and implementing best practices in areas such as Autolayout, custom operators, table view management, and state updates. Gain insights from speaker Javier Soto, an experienced iOS developer, on writing more maintainable and understandable Swift code for your projects.
Syllabus
Introduction
Code Reviewing
Reading code
Code duplication
Understanding the code
Reading the code
Extracting the logic
Autolayout
Custom operators
Goons
Before and After
Table view
reorder rows
user defaults
backwards compatibility
touch targets
minimum hit area button
hide sub use
context
optional views
Explicit views
Updating state
Updating state bar
Summary
Taught by
try! Swift Conference
Related Courses
Optimize Your Swift Codetry! Swift Conference via YouTube Swift Concurrency in GoodNotes
try! Swift Conference via YouTube Introducing the Beeline Library - Another Approach to Routing on iOS
try! Swift Conference via YouTube Swift Expression Macros - A Practical Introduction
try! Swift Conference via YouTube Getting Started with Combine
try! Swift Conference via YouTube