SwiftUI components and extensions that seem to be highly reusable.
Since this is an experimental library, we recommend that you copy (or use as refererence) and use the source.
- EnabledModifier (
sleep(seconds: UInt64) async throws
sleep(milliseconds: UInt64) async throws
If you want.
let package = Package( dependencies: [ .package(url: "https://github.com/YusukeHosonuma/SwiftUI-Common.git", from: "0.1.0"), ], targets: [ .target(name: "<your-target-name>", dependencies: [ .product(name: "SwiftUICommon", package: "SwiftUI-Common"), ]), ] )
- This library is used in the following:
- Document (Japanese):
Yusuke Hosonuma / @tobi462