AmirKamali / SwiftUICompactKit

A Library to extend SwiftUI Controls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

SwiftUICompatKit is an open source project that enables accessing controls that has not been developed or have limited functionality in SwiftUI.

This library is actively being updated. To view the latest status of the development, check the below table.

Examples

Click on the individual links from SwiftUICompatKit column to view the example use of each control.

Current State of Development.

UIKit SwiftUI SwiftUICompatKit
UIActivityIndicatorView - ActivityIndicator
UIBarButtonItem NavigationView, .navigationBarItems -
UIButton Button -
UICollectionView - CollectionView
UIDatePicker DatePicker -
UIImageView Image -
UILabel Text -
UINavigationBar NavigationView -
UIPageControl - -
UIPickerView Picker -
UIScrollView ScrollView -
UISegmentedControl Picker, .segmentedPickerStyle -
UISlider Slider -
UIStackView HStack, VStack -
UIStepper Stepper -
UISwitch Toggle -
UITabBar TabView -
UITabBarItem .tabItem -
UITableView List -
UITextField TextField, SecureTextField -
UIToolBar - -

View Controllers:

UIKit SwiftUI SwiftUICompatKit
UIActivityViewController - -
UIAlertController View, .alert -
UICollectionViewController Complex Interface CollectionView
UIImagePickerController - ImagePicker
UINavigationController - -
UIPageViewController - -
UISearchController - -
UISplitViewController - -
UITabBarController TabView -
UITableViewController List -
UIVideoEditorController - -
UIViewController View -

Installation:

SwiftPackages

Requirements: XCode 10.5 +

In XCode Select: File > Swift Packages > Add Package Dependency

URL : https://github.com/AmirKamali/SwiftUICompactKit

About

A Library to extend SwiftUI Controls

License:MIT License


Languages

Language:Swift 96.9%Language:Objective-C 3.1%