Skip to content

tattn/SwiftExtensions

Repository files navigation

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.