Swiftpack.co - tbointeractive/bytes as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by tbointeractive.
tbointeractive/bytes v1.1
bytes is a set of Swift tools to cover many all-day tasks in iOS development.
⭐️ 7
🕓 5 weeks ago
.package(url: "https://github.com/tbointeractive/bytes.git", from: "v1.1")

bytes

Build Status GitHub GitHub tag (latest by date) Swift Version

bytes is a set of Swift tools to cover many all-day tasks in iOS development.

Get started

Install via Swift Package Manager (SPM)

As of version 1.3 bytes also supports SPM. To use it, add this repo to your packages in Xcode:

https://github.com/tbointeractive/bytes

Install via CocoaPods

Add the bytes Pod

pod 'bytes'

The CommonCrypto Dilema:
To provide little hashing helpers such as public var md5: String in String+Hashes.swift, bytes uses the static C Library CommonCrypto. During the pod install we include CommonCrypto by modulemaps (CocoaPods/) in the framework. Those modulemaps have strong references to the default installation path of Xcode (/Applications/Xcode.app).

Usage

Please read the documentation to find out about all the existing bytes.

Developing

Implementing your own byte

Please start a discussion about a byte before implementing one of your own. We love to discuss new ideas and get a concept straigt early on.

Testing

Please ensure proper testing of all your code whilst not blindly watching the coverage percentage.

Documentation

Please add proper documentation to your code (Xcode Editor -> Structure -> Add Documentation). We use jazzy to generate the docset. Use the jazzy command to generate it on your own machine.

Release

The version of this library is set in different ways for Cocoapods and SPM:

  • SPM: uses the commit tag, which must be a valid semantic version (i.e. 1.2.3) see documentation
  • Cocoapods: uses the commit tag to find the correct sources, but the version itself is defined in the podspec file

License

This project is licensed under the terms of the MIT license. See the LICENSE file.

GitHub

link
Stars: 7
Last commit: Yesterday
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

1.3 Swift Package Manager Support
5 weeks ago
  • added: support for Swift Package Manager (SPM)

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