Atomic design
Learn how to name components. Apply the single responsibility principle. Find the indivisible component units, and compose them together into larger molecules.
Learnings from five years of component systems applied to the Swift world.
Topics include: SwiftUI Combine Component Design Data Flow APIs Composing Testing Performance Clarity Documentation Device Adapting
Learn how to name components. Apply the single responsibility principle. Find the indivisible component units, and compose them together into larger molecules.
Extract common styles. Define a style guide. How do you keep styles consistent?
What sort of components should be resuable? How granular should you go?
When do you need a pattern library? Who are they for? How should you manage them?
Unit test components. Test the behaviours that matter first. Use type-safety to remove impossible states.
Test your data flow in isolation. Use test-driven design. Mock APIs and other sources.
Components are really composable. Can we reduce boilerplate? What useful component utilities can we make?
Handle errors from publishers. What and when should you show users?
Learn how to name components. Apply the single responsibility principle. Find the atomic units, and compose them together.
Learn when you should focus on performance. Measure to be informed. Apply optimization techniques.
Produce screenshots across many devices.