Swiftpack.co - Khatto/SpriteKitPlus as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Khatto/SpriteKitPlus
A library of convenience enhancements for SpriteKit.
.package(url: "https://github.com/Khatto/SpriteKitPlus.git", from: "1.1.6")

SpriteKitPlus

About

Expedite your development time with this bounty of convenience methods made specifically for SpriteKit! Quickly access half and full widths and heights of varying SKNodes, create an SKAction with a designated timingMode in one line, and more!

Examples

Craft an SKAction with a SKActionTimingMode with the following function in one line:

func withTimingMode(_ timingMode: SKActionTimingMode) -> SKAction {
    self.timingMode = timingMode
    return self
}

For example:

let action = SKAction.fadeIn(withDuration: 1.0).withTimingMode(.easeInEaseOut)

Installation

TBD. But will be using Swift Package Manager.

GitHub

link
Stars: 0
Last commit: 1 week 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

v1.1.6 | CGFloat Enhancements
1 week ago

A variety of CGFloat variables to quickly access things like half, double, four-fifths, etc.

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