📦 Package containing non native SwiftUI components
🚀 We all love SwiftUI, because it allows us to create graphical interfaces quickly. But sometimes it happens that some components are not available for SwiftUI. So I decided to create this collection of ready-to-use components. Each component is fully documented with examples as well. You can consult it via Xcode as you are already used to, by pressing ⌥ or ⌘ + Show Quick Help.
📲 Open your Xcode Project then go to File > Add Packages... and paste this repository link. After that you need to import inside your source code.
import UnleashSwiftUI
- Non modal experience introduced in iOS 15 only for UIKit (sheet with detents)
.sheet(isPresented:detents:showGrabber:scrollingExpand:undimmed:edgeRadius:onDismiss:content:)
- Photo Picker (PHPickerViewController from PhotosUI)
.photoPicker(isPresented:images:limit:)
- Camera (UIImagePickerController from UIKit)
.camera(isPresented:image:device:flashMode:)