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.
- Host: GitHub
- URL: https://github.com/skyfe79/cgutils
- Owner: skyfe79
- License: mit
- Created: 2024-03-23T06:17:30.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-24T10:39:54.000Z (about 2 years ago)
- Last Synced: 2025-04-09T03:15:35.540Z (about 1 year ago)
- Topics: ios, macos, swift
- Language: Swift
- Homepage: https://github.com/skyfe79/CGUtils
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.