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

https://github.com/skyfe79/cgutils

CGUtils: A Swift module offering utility extensions for CoreGraphics-related tasks.
https://github.com/skyfe79/cgutils

ios macos swift

Last synced: about 2 months ago
JSON representation

CGUtils: A Swift module offering utility extensions for CoreGraphics-related tasks.

Awesome Lists containing this project

README

          

# CGUtils

CGUtils is a module that contains and manages a collection of useful extensions related to CoreGraphics. This module is written in Swift and offers a variety of utility functions for CoreGraphics related tasks.

## Features

- Aspect Fit and Aspect Fill calculations for `CGSize` and `CGRect`
- Generating transformations using `CGAffineTransform` to fit or fill rectangles
- Various extensions related to CoreGraphics

## Installation

CGUtils can be installed using the Swift Package Manager. Add the following dependency to your `Package.swift` file:

```swift
dependencies: [
.package(url: "https://github.com/skyfe79/CGUtils.git", .from: "0.0.2")
]
```

## License

CGUtils is distributed under the MIT license. See the LICENSE file for more details.