ReerKit 1.0.40

ReerKit 1.0.40

Maintained by phoenix.



ReerKit 1.0.40

  • By
  • phoenix

ReerKit

ReerKit is a collection of native Swift extensions that provide convenient methods, syntactic sugar, and performance improvements for various native data types, UIKit, and Cocoa classes for iOS, macOS, tvOS, watchOS, and Linux platforms. Around 60% of the content in the framework comes from the excellent open-source library SwifterSwift, with some code removal, optimization, and bug fixes. Another 10% of the content is gathered from various sources on the internet for utility classes or extension methods. The remaining content is developed by myself. All system type extensions in the framework have the re infix added to avoid ambiguity issues when calling the same name extension, such as "SGVsbG\n8gV29ybGQh".re.base64Decoded, "123".re.utf8Data?.re.md5String.

简体中文

Requirements

iOS 11.0+ / tvOS 9.0+ / watchOS 2.0+ / macOS 10.10+ / Ubuntu 14.04+ Swift 5.5+

Package Size

224KB

Installation

CocoaPods

To integrate ReerKit into your Xcode project using CocoaPods, specify it in your `Podfile`:

- Integrate all extensions (recommended):

pod 'ReerKit'
Carthage

To integrate ReerKit into your Xcode project using Carthage, specify it in your `Cartfile`:

github "ReerKit/ReerKit" ~> 1.0.4
Swift Package Manager

You can use Swift Package Manager to install ReerKit by adding the proper description in your `Package.swift` file:

import PackageDescription
let package = Package(
    name: "YOUR_PROJECT_NAME",
    targets: [],
    dependencies: [
        .package(url: "https://github.com/reers/ReerKit.git", from: "1.0.4")
    ]
)

Next, add `ReerKit` to your targets dependencies as shown below:

.target(
    name: "YOUR_TARGET_NAME",
    dependencies: [
        "ReerKit",
    ]
),

Then run `swift package update`.

Please note that Swift Package Manager does not support building for iOS/tvOS/macOS/watchOS applications.

Manual

Add the ReerKit folder to your Xcode project to use all extensions or specific extensions.