{"id":20711102,"url":"https://github.com/cypherpoet/swiftuipreviewutils","last_synced_at":"2025-06-20T06:05:12.828Z","repository":{"id":63907280,"uuid":"345918645","full_name":"CypherPoet/SwiftUIPreviewUtils","owner":"CypherPoet","description":"Starter utilities for using Xcode previews in SwiftUI projects","archived":false,"fork":false,"pushed_at":"2021-09-14T10:44:26.000Z","size":2217,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-20T06:04:21.035Z","etag":null,"topics":["swift","swift-packages","swiftui","swiftui-masterrace","swiftui-previews","swiftui-previews-are-awesome","swiftui-xcode-previews","xcode","xcode-previews"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CypherPoet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://tippin.me/@cypher_poet"]}},"created_at":"2021-03-09T07:25:47.000Z","updated_at":"2022-11-07T12:00:58.000Z","dependencies_parsed_at":"2022-11-28T22:54:06.884Z","dependency_job_id":null,"html_url":"https://github.com/CypherPoet/SwiftUIPreviewUtils","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":"CypherPoet/swift-package-template","purl":"pkg:github/CypherPoet/SwiftUIPreviewUtils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CypherPoet%2FSwiftUIPreviewUtils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CypherPoet%2FSwiftUIPreviewUtils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CypherPoet%2FSwiftUIPreviewUtils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CypherPoet%2FSwiftUIPreviewUtils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CypherPoet","download_url":"https://codeload.github.com/CypherPoet/SwiftUIPreviewUtils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CypherPoet%2FSwiftUIPreviewUtils/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260891137,"owners_count":23077908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["swift","swift-packages","swiftui","swiftui-masterrace","swiftui-previews","swiftui-previews-are-awesome","swiftui-xcode-previews","xcode","xcode-previews"],"created_at":"2024-11-17T02:14:04.425Z","updated_at":"2025-06-20T06:05:07.759Z","avatar_url":"https://github.com/CypherPoet.png","language":"Swift","funding_links":["https://tippin.me/@cypher_poet"],"categories":[],"sub_categories":[],"readme":"# SwiftUIPreviewUtils\n\n\u003c!-- Header Logo --\u003e\n\n\u003c!--\n\u003cdiv align=\"center\"\u003e\n   \u003cimg width=\"600px\" src=\"./Resources/Assets/banner-logo.png\" alt=\"Banner Logo\"\u003e\n\u003c/div\u003e --\u003e\n\n\n\u003c!-- Badges --\u003e\n\n\u003cp\u003e\n    \u003cimg src=\"https://img.shields.io/badge/iOS-14.0+-865EFC.svg\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/iPadOS-14.0+-F65EFC.svg\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/macOS-11.0+-179AC8.svg\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/tvOS-14.0+-41465B.svg\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/watchOS-7.0+-1FD67A.svg\" /\u003e\n    \u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg\" /\u003e\n    \u003cimg src=\"https://github.com/CypherPoet/SwiftUIPreviewUtils/workflows/Build%20\u0026%20Test/badge.svg\" /\u003e\n    \u003ca href=\"https://github.com/apple/swift-package-manager\"\u003e\n      \u003cimg src=\"https://img.shields.io/badge/spm-compatible-brightgreen.svg?style=flat\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://twitter.com/cypher_poet\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Contact-@cypher_poet-lightgrey.svg?style=flat\" alt=\"Twitter: @cypher_poet\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n\n_Starter utilities for using Xcode previews in SwiftUI projects._\n\n\u003cp /\u003e\n\n## Installation\n\n### Xcode Projects\n\nSelect `File` -\u003e `Swift Packages` -\u003e `Add Package Dependency` and enter `https://github.com/CypherPoet/SwiftUIPreviewUtils`.\n\n\n### Swift Package Manager Projects\n\nYou can add `SwiftUIPreviewUtils` as a package dependency in your `Package.swift` file:\n\n```swift\nlet package = Package(\n    //...\n    dependencies: [\n        .package(url: \"https://github.com/CypherPoet/SwiftUIPreviewUtils\", .exact(\"0.0.10\")),\n    ],\n    //...\n)\n```\n\nFrom there, refer to `SwiftUIPreviewUtils` as a \"target dependency\" in any of _your_ package's targets that need it.\n\n```swift\ntargets: [\n    .target(\n        name: \"YourLibrary\",\n        dependencies: [\n          \"SwiftUIPreviewUtils\",\n        ],\n        ...\n    ),\n    ...\n]\n```\n\nThen simply `import SwiftUIPreviewUtils` wherever you’d like to use it.\n\n\n## Contributing\n\nContributions to `SwiftUIPreviewUtils` are most welcome. Check out some of the [issue templates](./.github/ISSUE_TEMPLATE/) for more info.\n\n\n\n## 💻 Developing\n\n### Requirements\n\n- Xcode 12.5+ (Recommended)\n\n\n### 📜 Generating Documentation\n\nDocumentation is generated by [Jazzy](https://github.com/realm/jazzy). Installation instructions can be found [here](https://github.com/realm/jazzy#installation), and as soon as you have it set up, docs can be generated simply by running `jazzy` from the command line.\n\n📝 Note that this will only generate the `docs` folder for you to view locally. This folder is being ignored by `git`, as an [action](./.github/workflows/PublishDocumentation.yml) exists to automatically generate docs at the root level and serve them on the project's `gh-pages` branch.\n\n\n## 🏷 License\n\n`SwiftUIPreviewUtils` is available under the MIT license. See the [LICENSE file](./LICENSE) for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcypherpoet%2Fswiftuipreviewutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcypherpoet%2Fswiftuipreviewutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcypherpoet%2Fswiftuipreviewutils/lists"}