Skip to content

Latest commit

 

History

History
63 lines (49 loc) · 1.71 KB

README.md

File metadata and controls

63 lines (49 loc) · 1.71 KB

SwiftExtensions

Build Status Swift Package Manager compatible Swift Version

My favorite Swift extensions.

Installation

Swift Package Manager

You can install this package with Swift Package Manager.

Recommended

dependencies: [
    .package(
        name: "SwiftExtensions",
        url: "https://github.com/tattn/SwiftExtensions.git",
        from: "3.0.0-beta.1"
    ),
],

Experimental (Prebuild packages)

dependencies: [
    .package(
        name: "SwiftExtensions",
        url: "https://github.com/tattn/SwiftExtensionsXCFramework.git",
        from: "3.0.0-beta.1"
    ),
],

Usage

// Main features
@_exported import SwiftExtensions
// for SwiftUI
@_exported import SwiftExtensionsUI
// for UIKit
@_exported import SwiftExtensionsUIKit

Docs

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

SwiftExtensions is released under the MIT license. See LICENSE for details.