Gizmo 2.0.0

Gizmo 2.0.0

Maintained by nayanda1.



Gizmo 2.0.0

  • By
  • Nayanda Haberty

Gizmo

Gizmo is a set of common utilities for Swift

Codacy Badge build test SwiftPM Compatible Version License Platform

Requirements

  • Swift 5.5 or higher
  • iOS 11.0 or higher
  • XCode 13 or higher

Installation

Cocoapods

Gizmo is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'Gizmo', '~> 2.0.0'

Swift Package Manager from XCode

  • Add it using XCode menu File > Swift Package > Add Package Dependency
  • Add https://github.com/hainayanda/Gizmo.git as Swift Package URL
  • Set rules at version, with Up to Next Major option and put 2.0.0 as its version
  • Click next and wait

Swift Package Manager from Package.swift

Add as your target dependency in Package.swift

dependencies: [
    .package(url: "https://github.com/hainayanda/Gizmo.git", .upToNextMajor(from: "2.0.0"))
]

Use it in your target as Gizmo

.target(
    name: "MyModule",
    dependencies: ["Gizmo"]
)

Author

Nayanda Haberty, [email protected]

License

Gizmo is available under the MIT license. See the LICENSE file for more info.

Features

Common Extensions

  • Array Extensions
  • Collection Extensions
  • Sequence Extensions
  • Data Extensions
  • Date Extensions
  • Dictionary Extensions
  • Int Extensions
  • String Extensions
  • TimeInterval Extensions
  • TimeZone Extensions

Helpers

  • Closure Helpers
  • Statistics Helpers
  • Radian Helpers

Extra

  • GizmoError

Contribute

You know how, just clone and do pull request