Home

Awesome

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.

UIKitSwiftUISwiftUICompatKit
UIActivityIndicatorView-ActivityIndicator
UIBarButtonItemNavigationView, .navigationBarItems-
UIButtonButton-
UICollectionView-CollectionView
UIDatePickerDatePicker-
UIImageViewImage-
UILabelText-
UINavigationBarNavigationView-
UIPageControl--
UIPickerViewPicker-
UIScrollViewScrollView-
UISegmentedControlPicker, .segmentedPickerStyle-
UISliderSlider-
UIStackViewHStack, VStack-
UIStepperStepper-
UISwitchToggle-
UITabBarTabView-
UITabBarItem.tabItem-
UITableViewList-
UITextFieldTextField, SecureTextField-
UIToolBar--

View Controllers:

UIKitSwiftUISwiftUICompatKit
UIActivityViewController--
UIAlertControllerView, .alert-
UICollectionViewControllerComplex InterfaceCollectionView
UIImagePickerController-ImagePicker
UINavigationController--
UIPageViewController--
UISearchController--
UISplitViewController--
UITabBarControllerTabView-
UITableViewControllerList-
UIVideoEditorController--
UIViewControllerView-

Installation:

SwiftPackages

Requirements: XCode 10.5 +

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

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