Swiftpack.co - orchetect/OTCore as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
orchetect/OTCore 1.1.17
Useful extensions on Swift standard library types.
⭐️ 1
🕓 5 days ago
.package(url: "https://github.com/orchetect/OTCore.git", from: "1.1.17")

OTCore

CI Build Status Platforms - macOS | iOS | tvOS | watchOS License: MIT

Multi-platform Swift shared code module with useful extension methods on standard library types.

The library has full unit test coverage and is actively used in production.

Installation: Swift Package Manager (SPM)

Dependency within an Application

  1. Add the package to your Xcode project using Swift Package Manager
    • Select File → Swift Packages → Add Package Dependency
    • Add package using https://github.com/orchetect/OTCore as the URL.
  2. Import the module in your *.swift files where needed.
    import OTCore
    

Dependency within a Swift Package

  1. In your Package.swift file:

    dependencies: [
        .package(url: "https://github.com/orchetect/OTCore", from: "1.1.9")
    ],
    
  2. @_implementationOnly prevents the methods and properties in OTCore from being exported to the consumer of your SPM package.

    @_implementationOnly import OTCore
    

Documentation

Most methods are implemented as category methods so they are generally discoverable.

All methods have inline help explaining their purpose and basic usage examples.

Author

Coded by a bunch of 🐹 hamsters in a trenchcoat that calls itself @orchetect.

License

Licensed under the MIT license. See LICENSE for details.

Contributions

Bug fixes and improvements are welcome. Please open an issue to discuss prior to submitting PRs.

GitHub

link
Stars: 1
Last commit: 5 days ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

1.1.17
5 days ago
  • Added @Atomic property wrapper, also safe for collection types

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics