Swiftpack.co -  mihaelamj/MMJUtils as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
mihaelamj/MMJUtils
Utils I use on every project
.package(url: "https://github.com/mihaelamj/MMJUtils.git", from: "0.7.0")

MMJUtils

Utility code I use on nearly every project.

CollectionUtil

  • Adds a safe subscript when accessing colcction elements.
  • Returns nil if the index is out of bounds.

FloatingPointUtil

  • Adds a helper method to round to the nearest value, with rounding rules

CGRectUtil

  • Generating random CGRects
  • Centering CGRects

GridView

  • Drawing a GridView with Core Graphics for testing purposes

GridViewSwiftUI

  • Drawing the same grid view, but this time with SwiftUI.
  • Using Path and GeometryReader

GitHub

link
Stars: 1
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.

Dependencies

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