CypherPoetSwiftUIGeometryUtils

main

Starter utilities for creating magic with geometry and shapes in SwiftUI.
CypherPoet/SwiftUIGeometryUtils

SwiftUIGeometryUtils

Twitter: @cypher_poet

Starter utilities for creating magic with geometry and shapes in SwiftUI.

Installation

Xcode Projects

Select File -> Swift Packages -> Add Package Dependency and enter https://github.com/CypherPoet/SwiftUIGeometryUtils.

Swift Package Manager Projects

You can add CypherPoetSwiftUIGeometryUtils as a package dependency in your Package.swift file:

let package = Package(
    //...
    dependencies: [
      .package(
          name: "CypherPoetSwiftUIGeometryUtils",
          url: "https://github.com/CypherPoet/SwiftUIGeometryUtils",
          .upToNextMinor(from: "0.2.0")
      ),
    ],
    //...
)

From there, refer to the SwiftUIGeometryUtils "product" delivered by the CypherPoetSwiftUIGeometryUtils "package" inside of any of your project's target dependencies:

targets: [
    .target(
        name: "YourLibrary",
        dependencies: [
            .product(name: "SwiftUIGeometryUtils", package: "CypherPoetSwiftUIGeometryUtils"),
        ],
        ...
    ),
    ...
]

Then simply import SwiftUIGeometryUtils wherever you’d like to use it.

Contributing

Contributions to SwiftUIGeometryUtils are most welcome. Check out some of the issue templates for more info.

💻 Developing

Requirements

  • Xcode 13.0+ (Recommended)

📜 Creating & Building Documentation

Documentation is built with Xcode's DocC. More details are forthcoming here -- but for now, see Apple's guidance on how to build, run, and create DocC content.

🏷 License

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

Description

  • Swift Tools 5.5.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri Oct 18 2024 03:21:10 GMT-0900 (Hawaii-Aleutian Daylight Time)