Some useful extension for Swift
- iOS 11.0+, tvOS 11.0+, watchOS 6.0+
- Swift 5.0+
CocoaPods
Add the following line to your Podfile
pod 'OYExtensions'
Swift Package Manager
Add OYExtensions as a dependency to your
Package.swift
and specify OYExtensions as a target dependency:
import PackageDescription
let package = Package(
name: "YOUR_PROJECT_NAME",
targets: [],
dependencies: [
.package(url: "https://github.com/osmanyildirim/OYExtensions.git", .upToNextMinor(from: "1.0")),
],
targets: [
.target(
name: "YOUR_PROJECT_NAME",
dependencies: ["OYExtensions"])
]
)
Combine Extensions
CoreGraphics Extensions
CoreLocation Extensions
Foundation Extensions
SwiftStdlib Extensions
SwiftUI Extensions
UIGestureRecognizer Extensions
UIKit Extensions
NSLayoutConstraint extensions
UIAlertController extensions
UIApplication extensions
UIButton extensions
UICollectionView extensions
UIColor extensions
UIControl extensions
UIDatePicker extensions
UIDevice extensions
UIFeedbackGenerator extensions
UIFont extensions
UIImage extensions
UIImageView extensions
UILabel extensions
UINavigationBar extensions
UINavigationController extensions
UIPasteboard extensions
UIPickerView extensions
UIRefreshControl extensions
UIScreen extensions
UIScrollView extensions
UISearchBar extensions
UISlider extensions
UIStackView extensions
UISegmentedControl extensions
UISwitch extensions
UITabBar extensions
UITabBarController extensions
UITabBarItem extensions
UITableView extensions
UITextField extensions
UITextView extensions
UIUserInterfaceSizeClass extensions
UIView extensions
UIViewController extensions
UIWindow extensions
UInt extensions
WebKit Extensions
Other Extensions
OYExtensions is released under an MIT license. See LICENSE for details.