Cyber Week [Extension] — Promotion
Ends in ::
Hours left! Get complete and immediate access to a One-Year Kodeco Pro Plan with all benefits for just $399 for your first year — or lock in for two years for $599
Who is this for?
Intermediate iOS developers who are comfortable with the Swift language, SwiftUI and know their way around Xcode.
- What are property wrappers
- Projected vs wrapped value
- Creating custom property wrappers
Part 1: Applications of Custom Property Wrappers
Learn about Property Wrappers, what they are for and how they work. Explore some examples with common dos and don’ts.
User Defaults allow you to store key-value paired data that is persisted on device. Learn how to create a Property Wrapper to make User Defaults easier and faster to use.
Learn how to create a Property Wrapper to sanitize and validate data before sending it to a backend service or saving it on device.
Log Property Access
Learn how to create a Property Wrapper that keeps track of when a value is accessed and updated.
Up until now Property Wrappers have been standalone types, unable to access the type they’re contained in. Learn how to access the enclosing type from within a property wrapper.
Use Projected Values
Along with a wrapped value, a Property Wrapper can have a projected value. Learn what they are and how you can use them.