Swiftpack.co - Package - cszatma/SwiftySweetness

SwiftySweetness

Language Swift CI Status Release Version Platforms License SPM

SwiftySweetness is a list of extensions that provides extra functionality and syntactic sugar.

Installation

Swift Package Manager

The recommended way to install SwiftySweetness is by using the Swift Package Manager.

To install it, add the following to your Package.swift's dependencies array:

.package(url: "https://github.com/cszatma/SwiftySweetness.git", from: "3.0.0")

Then simply import it to use:

import SwiftySweetness

CocoaPods

SwiftySweetness is also available through CocoaPods.

To install it, add the following line to your Podfile:

pod 'SwiftySweetness', '~> 3.0'

Documentation

See the documentation for information on all the features this library provides.

License

SwiftySweetness is available under the MIT License.

Contributing

Open an issue or submit a pull request.

Github

link
Stars: 1
Help us keep the lights on

Dependencies

Used By

Total: 0

Releases

3.0.0 - Jun 25, 2019

The project has been completely restructured and is now a pure SPM package (no more xcodeproj in git, yay!) with proper Linux support. Also added tests, CI, and better documentation.

Breaking Changes

  • CGRect extensions have been removed. It is not part of the Swift standard library or Foundation so it is outside the scope of this project
  • Swift 5 target by default
  • Int#reverseNumber() has been renamed to Int#reversed()
  • Double#roundTo(place:) has been renamed to Double#rounded(to:)
  • String#splitCamelCase() has been renamed to String#splittingCamelCase()
  • String#pad has been removed and replaced with String#paddingStart and String#paddingEnd

Added

  • If and Switch classes for creating condition expressions
  • Unit tests
  • Improved docs
  • Changelog

2.0.0 - Sep 17, 2018

Removed UIKit and AppKit extensions and any references to these frameworks. This is now a pure Swift framework.