Swiftpack.co - richardpiazza/Swift2D as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
richardpiazza/Swift2D
Swift library for working in two-dimensional coordinate systems.
.package(url: "https://github.com/richardpiazza/Swift2D.git", from: "2.0.0")

Swift2D

Swift library for working in two-dimensional coordinate systems.

Twitter: @richardpiazza

Features

This library provides structs for Point, Size, and Rect based on the swift standard library. No Foundation or CoreGraphics imports are required.

Usage

Swift2D is distributed using the Swift Package Manager. To install it into a project, add it as a dependency within your Package.swift manifest:

let package = Package(
    ...
    dependencies: [
        .package(url: "https://github.com/richardpiazza/Swift2D.git", from: "1.1.0")
    ],
    ...
)

Then import the Swift2D packages wherever you'd like to use it:

import Swift2D

GitHub

link
Stars: 0
Last commit: 6 weeks 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

Swift2D 2.0.0 (Double Double)
6 weeks ago

This release removes previously deprecated initializers as well as replacing the underlying Float values with Double. SE-0307 will offer interchangeable CGFloat/Double usages in Swift 5.5.

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