Skip to content

Latest commit

 

History

History
27 lines (25 loc) · 1.22 KB

README.md

File metadata and controls

27 lines (25 loc) · 1.22 KB

UnleashSwiftUI

📦 Package containing non native SwiftUI components

Description

🚀 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.

Installation

📲 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

Components available

  • 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:)