YYSwift is a collection of native Swift extensions, with handy methods, syntactic sugar, and performance improvements for wide range of primitive data types, UIKit and Cocoa classes for iOS, macOS, tvOS and watchOS.
- iOS 10.0+ / tvOS 10.0+ / watchOS 4.0+ / macOS 10.10+
- Xcode 10.2.1+
- Swift 5.0+
Add github "Asura19/YYSwift"
to your Cartfile
dependencies: [
.package(url: "https://github.com/Asura19/YYSwift.git", from: "2.0.1")
]
Add the extensions folder to your Xcode project to use all extensions, or a specific extension.
I try to write a pure Swift library of YYKit, but after a few days of work, I found this excellent project - SwifterSwift, it had implemented many functions of YYKit. Should I continue? To do, or not to do, that is the question. OK, finally, I carried on this, because there are some differences between them, I combined them together, some extentions were copied directly from SwifterSwift and I rewrited part of YYKit in Swift. In addition, I found some issues in SwifterSwift and contributed to the project. During this time I also practiced a lot and improved my ability of Swift.