https://github.com/thatfactory/extensions
A collection of useful Swift/SwiftUI extensions and preview traits ⚙️
https://github.com/thatfactory/extensions
extension preview swift swiftui traits
Last synced: 4 months ago
JSON representation
A collection of useful Swift/SwiftUI extensions and preview traits ⚙️
- Host: GitHub
- URL: https://github.com/thatfactory/extensions
- Owner: thatfactory
- License: mit
- Created: 2022-11-16T20:34:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2026-02-03T01:17:23.000Z (4 months ago)
- Last Synced: 2026-02-03T01:56:43.335Z (4 months ago)
- Topics: extension, preview, swift, swiftui, traits
- Language: Swift
- Homepage:
- Size: 79.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://developer.apple.com/swift/)
[](https://developer.apple.com/xcode/)
[](https://developer.apple.com/documentation/xcode/swift-packages)
[](https://en.wikipedia.org/wiki/List_of_Apple_operating_systems)
[](https://thatfactory.github.io/extensions/documentation/extensions/)
[](https://en.wikipedia.org/wiki/MIT_License)
[](https://github.com/thatfactory/extensions/actions/workflows/release.yml)
# Extensions ⚙️
A collection of useful Swift/SwiftUI extensions.
## Integration
### Xcode
Use Xcode's [built-in support for SPM](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app).
*or...*
### Package.swift
In your `Package.swift`, add `Extensions` as a dependency:
```swift
dependencies: [
.package(
url: "https://github.com/thatfactory/extensions",
from: "0.1.0"
)
]
```
Associate the dependency with your target:
```swift
targets: [
.target(
name: "YourTarget",
dependencies: [
.product(
name: "Extensions",
package: "extensions"
)
]
)
]
```
Run: `swift build`