Make UIKit chain-able.
- iOS 11.0+
- Xcode 14.0+
- Swift 5.7+
import UIKit
import ChainableUIKit
UIView().chainable
.borderColor(.black)
.borderWidth(1)
Make UIKit chain-able.
import UIKit
import ChainableUIKit
UIView().chainable
.borderColor(.black)
.borderWidth(1)
{ "name": "ChainableUIKit", "path": "/usr/src/package", "targets": [ { "name": "UIKitUtilsTests", "path": "Tests/UIKitUtilsTests", "type": "test", "c99name": "UIKitUtilsTests", "sources": [ "CGAffineTransform+UIKitUtilsTests.swift", "UICollectionView+UIKitUtilsTests.swift", "UIColor+UIKitUtilsTests.swift", "UIImage+UIKitUtilsTests.swift", "UITableView+UIKitUtilsTests.swift", "UIView+UIKitUtilsTests.swift", "UIViewController+UIKitUtilsTests.swift" ], "module_type": "SwiftTarget", "target_dependencies": [ "UIKitUtils" ] }, { "name": "UIKitUtils", "path": "Sources/UIKitUtils", "type": "library", "c99name": "UIKitUtils", "sources": [ "ActionWrapper.swift", "CGAffineTransform+UIKitUtils.swift", "ControllerInformation.swift", "UIApplication+UIKitUtils.swift", "UIBarButtonItem+UIKitUtils.swift", "UIBezierPath+ContinuousCorner.swift", "UICollectionView+UIKitUtils.swift", "UIColor+UIKitUtils.swift", "UIControl+UIKitUtils.swift", "UIDevice+UIKitUtils.swift", "UIGestureRecognizer+UIKitUtils.swift", "UIImage+UIKitUtils.swift", "UIKitPreview.swift", "UITableView+UIKitUtils.swift", "UIView+UIKitUtils.swift", "UIViewController+UIKitUtils.swift" ], "module_type": "SwiftTarget", "product_memberships": [ "ChainableUIKit" ] }, { "name": "UIKitObjectiveCUtils", "path": "Sources/UIKitObjectiveCUtils", "type": "library", "c99name": "UIKitObjectiveCUtils", "sources": [ "UIView+DynamicColorSwizzling.m" ], "module_type": "ClangTarget", "product_memberships": [ "ChainableUIKit" ], "target_dependencies": [ "UIKitUtils" ] }, { "name": "ChainableUIKitTests", "path": "Tests/ChainableUIKitTests", "type": "test", "c99name": "ChainableUIKitTests", "sources": [ "Appearance/UIBackgroundConfiguration+ChainableTests.swift", "Appearance/UIBarAppearance+ChainableTests.swift", "Appearance/UIBarButtonItemAppearance+ChainableTests.swift", "Appearance/UIBarButtonItemStateAppearance+ChainableTests.swift", "Appearance/UIButtonConfiguration+ChainableTests.swift", "Appearance/UIContextualAction+ChainableTests.swift", "Appearance/UIListContentConfiguration+ChainableTests.swift", "Appearance/UINavigationBarAppearance+ChainableTests.swift", "Appearance/UISwipeActionsConfiguration+ChainableTests.swift", "Appearance/UITabBarAppearance+ChainableTests.swift", "Appearance/UITabBarItemAppearance+ChainableTests.swift", "Appearance/UITabBarItemStateAppearance+ChainableTests.swift", "Appearance/UIToolbarAppearance+ChainableTests.swift", "ChainableUIKitTests.swift", "Controller/UIAlertController+ChainableTests.swift", "Controller/UICollectionViewController+ChainableTests.swift", "Controller/UINavigationController+ChainableTests.swift", "Controller/UIPageViewController+ChainableTests.swift", "Controller/UISearchController+ChainableTests.swift", "Controller/UISplitViewController+ChainableTests.swift", "Controller/UITabBarController+ChainableTests.swift", "Controller/UITableViewController+ChainableTests.swift", "Controller/UIViewController+ChainableTests.swift", "View/UIActivityIndicatorView+ChainableTests.swift", "View/UIBarButtonItem+ChainableTests.swift", "View/UIBarItem+ChainableTests.swift", "View/UIButton+ChainableTests.swift", "View/UICollectionView+ChainableTests.swift", "View/UICollectionViewCell+ChainableTests.swift", "View/UIControl+ChainableTests.swift", "View/UIDatePicker+ChainableTests.swift", "View/UIGestureRecognizer+ChainableTests.swift", "View/UIImageView+ChainableTests.swift", "View/UIKeyInput+ChainableTests.swift", "View/UILabel+ChainableTests.swift", "View/UINavigationBar+ChainableTests.swift", "View/UINavigationItem+ChainableTests.swift", "View/UIPageControl+ChainableTests.swift", "View/UIProgressView+ChainableTests.swift", "View/UIResponder+ChainableTests.swift", "View/UIScrollView+ChainableTests.swift", "View/UISearchBar+ChainableTests.swift", "View/UISearchTextField+ChainableTests.swift", "View/UISegmentedControl+ChainableTests.swift", "View/UISlider+ChainableTests.swift", "View/UIStackView+ChainableTests.swift", "View/UIStepper+ChainableTests.swift", "View/UISwitch+ChainableTests.swift", "View/UITabBar+ChainableTests.swift", "View/UITabBarItem+ChainableTests.swift", "View/UITableView+ChainableTests.swift", "View/UITableViewCell+ChainableTests.swift", "View/UITextField+ChainableTests.swift", "View/UITextInput+ChainableTests.swift", "View/UITextInputTraits+ChainableTests.swift", "View/UITextView+ChainableTests.swift", "View/UIToolbar+ChainableTests.swift", "View/UIView+ChainableTests.swift", "View/UIWindow+ChainableTests.swift" ], "module_type": "SwiftTarget", "target_dependencies": [ "ChainableUIKit" ] }, { "name": "ChainableUIKit", "path": "Sources/ChainableUIKit", "type": "library", "c99name": "ChainableUIKit", "sources": [ "Appearance/UIBackgroundConfiguration+Chainable.swift", "Appearance/UIBarAppearance+Chainable.swift", "Appearance/UIBarButtonItemAppearance+Chainable.swift", "Appearance/UIBarButtonItemStateAppearance+Chainable.swift", "Appearance/UIButtonConfiguration+Chainable.swift", "Appearance/UIContextualAction+Chainable.swift", "Appearance/UIListContentConfiguration+Chainable.swift", "Appearance/UINavigationBarAppearance+Chainable.swift", "Appearance/UISwipeActionsConfiguration+Chainable.swift", "Appearance/UITabBarAppearance+Chainable.swift", "Appearance/UITabBarItemAppearance+Chainable.swift", "Appearance/UITabBarItemStateAppearance+Chainable.swift", "Appearance/UIToolbarAppearance+Chainable.swift", "ChainableUIKit.swift", "Controller/UIAlertController+Chainable.swift", "Controller/UICollectionViewController+Chainable.swift", "Controller/UINavigationController+Chainable.swift", "Controller/UIPageViewController+Chainable.swift", "Controller/UISearchController+Chainable.swift", "Controller/UISplitViewController+Chainable.swift", "Controller/UITabBarController+Chainable.swift", "Controller/UITableViewController+Chainable.swift", "Controller/UIViewController+Chainable.swift", "View/UIActivityIndicatorView+Chainable.swift", "View/UIBarButtonItem+Chainable.swift", "View/UIBarItem+Chainable.swift", "View/UIButton+Chainable.swift", "View/UICollectionView+Chainable.swift", "View/UICollectionViewCell+Chainable.swift", "View/UIControl+Chainable.swift", "View/UIDatePicker+Chainable.swift", "View/UIGestureRecognizer+Chainable.swift", "View/UIImageView+Chainable.swift", "View/UIKeyInput+Chainable.swift", "View/UILabel+Chainable.swift", "View/UINavigationBar+Chainable.swift", "View/UINavigationItem+Chainable.swift", "View/UIPageControl+Chainable.swift", "View/UIProgressView+Chainable.swift", "View/UIResponder+Chainable.swift", "View/UIScrollView+Chainable.swift", "View/UISearchBar+Chainable.swift", "View/UISearchTextField+Chainable.swift", "View/UISegmentedControl+Chainable.swift", "View/UISlider+Chainable.swift", "View/UIStackView+Chainable.swift", "View/UIStepper+Chainable.swift", "View/UISwitch+Chainable.swift", "View/UITabBar+Chainable.swift", "View/UITabBarItem+Chainable.swift", "View/UITableView+Chainable.swift", "View/UITableViewCell+Chainable.swift", "View/UITextField+Chainable.swift", "View/UITextInput+Chainable.swift", "View/UITextInputTraits+Chainable.swift", "View/UITextView+Chainable.swift", "View/UIToolbar+Chainable.swift", "View/UIView+Chainable.swift", "View/UIWindow+Chainable.swift" ], "module_type": "SwiftTarget", "product_memberships": [ "ChainableUIKit" ], "target_dependencies": [ "UIKitUtils" ] } ], "products": [ { "name": "ChainableUIKit", "type": { "library": [ "automatic" ] }, "targets": [ "ChainableUIKit", "UIKitObjectiveCUtils" ] } ], "platforms": [ { "name": "ios", "version": "11.0" } ], "dependencies": [], "tools_version": "5.5", "manifest_display_name": "ChainableUIKit" }
{ "name": "ChainableUIKit", "targets": [ { "name": "UIKitUtils", "type": "regular", "exclude": [], "settings": [], "resources": [], "dependencies": [], "packageAccess": false }, { "name": "ChainableUIKit", "type": "regular", "exclude": [], "settings": [], "resources": [], "dependencies": [ { "target": [ "UIKitUtils", null ] } ], "packageAccess": false }, { "name": "UIKitObjectiveCUtils", "type": "regular", "exclude": [], "settings": [], "resources": [], "dependencies": [ { "target": [ "UIKitUtils", null ] } ], "packageAccess": false, "publicHeadersPath": "" }, { "name": "UIKitUtilsTests", "type": "test", "exclude": [], "settings": [], "resources": [], "dependencies": [ { "byName": [ "UIKitUtils", null ] } ], "packageAccess": false }, { "name": "ChainableUIKitTests", "type": "test", "exclude": [], "settings": [], "resources": [], "dependencies": [ { "byName": [ "ChainableUIKit", null ] } ], "packageAccess": false } ], "products": [ { "name": "ChainableUIKit", "type": { "library": [ "automatic" ] }, "targets": [ "ChainableUIKit", "UIKitObjectiveCUtils" ] } ], "pkgConfig": null, "platforms": [ { "options": [], "version": "11.0", "platformName": "ios" } ], "providers": null, "packageKind": { "root": [ "/usr/src/package" ] }, "dependencies": [], "toolsVersion": { "_version": "5.5.0" }, "cLanguageStandard": null, "cxxLanguageStandard": null, "swiftLanguageVersions": null }
{ "url": "/usr/src/package", "name": "ChainableUIKit", "path": "/usr/src/package", "version": "unspecified", "identity": "package", "dependencies": [] }