Press ESC to close

Property wrapper

Property wrappers wrap a value in Swift to add additional logic to it. They are used in SwiftUI for example for State, Bindings, and AppStorage. Developers can create their own property wrappers to speed up development.

How to add keyboard toolbar actions in SwiftUI

SwiftUI 3 brings additional, longly awaited functionality - the possibility to displays toolbar actions above the system keyboard. You probably expect that already, but adding views to the keyboard toolbar is also very easy. Let's take a look at a provided example....