Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cypherpoet/swiftuigeometryutils

Starter utilities for creating magic with geometry and shapes in SwiftUI.
https://github.com/cypherpoet/swiftuigeometryutils

euclid-fan-club swift swift-packages swiftui swiftui-geometry swiftui-masterrace swiftui-shapes

Last synced: 4 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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:

```swift
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:

```swift
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](./.github/ISSUE_TEMPLATE/) for more info.

## 💻 Developing

### Requirements

- Xcode 13.0+ (Recommended)

### 📜 Creating & Building Documentation

Documentation is built with [Xcode's DocC](https://developer.apple.com/documentation/docc). More details are forthcoming here -- but for now, see [Apple's guidance on how to build, run, and create DocC content](https://developer.apple.com/documentation/docc/api-reference-syntax).

## 🏷 License

`SwiftUIGeometryUtils` is available under the MIT license. See the [LICENSE file](./LICENSE) for more info.