SwiftySweetness

3.0.0

Basic extensions to make Swift a little sweeter.
cszatmary/SwiftySweetness

What's New

v3.0.0

2019-06-25T01:58:03Z

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

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.

Description

  • Swift Tools 5.0.0
View More Packages from this Author

Dependencies

Last updated: Mon Mar 11 2024 17:49:28 GMT-0900 (Hawaii-Aleutian Daylight Time)