ENGLISH

Thinking in SwiftUI

Book information

Publisher
Independently published
Year
2020
ISBN
9798626292411
Language
english
Format
PDF
Filesize
748 kB (765637 bytes)
Pages
168\135
Time added
2022-12-29 14:11:35

Description

SwiftUI is radically different from UIKit. So in this short book, we will help you build a mental model of how SwiftUI works. We explain the most important concepts in detail, and we follow them up with exercises to give you hands-on experience.SwiftUI is still a young framework, and as such, we don’t believe it’s appropriate to write a complete reference. Instead, this book focuses on transitioning your way of thinking from the object-oriented style of UIKit to the declarative style of SwiftUI.Thinking in SwiftUI is geared toward readers who are familiar with Swift and who have experience building apps in frameworks like UIKit. Overview View Construction View Layout View Updates Takeaways View Updates Updating the View Tree State Property Attributes Takeaways Exercises Environment How the Environment Works Using the Environment Dependency Injection Preferences Takeaways Exercises Layout Elementary Views Layout Modifiers Stack Views Organizing Layout Code Takeaways Exercises Custom Layout Geometry Readers Anchors Custom Layouts Takeaways Exercises Animations Implicit Animations How Animations Work Explicit Animations Custom Animations Takeaways Exercises Conclusion Exercise Solutions Chapter 2: View Updates Chapter 3: Environment Chapter 4: View Layout Chapter 5: Custom Layout Chapter 6: Animations

Similar books