{"id":24213598,"url":"https://github.com/iomega8561/tools4swiftui","last_synced_at":"2026-05-08T05:55:20.374Z","repository":{"id":270475405,"uuid":"910493494","full_name":"iOmega8561/Tools4SwiftUI","owner":"iOmega8561","description":"A Swift 5.9 package that bundles useful, reusable and stylish SwiftUI components.","archived":false,"fork":false,"pushed_at":"2025-02-18T21:00:59.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T17:14:14.677Z","etag":null,"topics":["apple","ios","ipados","macos","package","swift","swiftpm","swiftui","tvos","visionos"],"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/iOmega8561.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-31T12:31:21.000Z","updated_at":"2025-02-18T21:01:03.000Z","dependencies_parsed_at":"2025-01-15T15:06:23.491Z","dependency_job_id":"0e6bc0c4-9de4-42e3-9dc1-5496b79b1f49","html_url":"https://github.com/iOmega8561/Tools4SwiftUI","commit_stats":null,"previous_names":["iomega8561/tools4swiftui"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iOmega8561%2FTools4SwiftUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iOmega8561%2FTools4SwiftUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iOmega8561%2FTools4SwiftUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iOmega8561%2FTools4SwiftUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iOmega8561","download_url":"https://codeload.github.com/iOmega8561/Tools4SwiftUI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241705912,"owners_count":20006396,"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":["apple","ios","ipados","macos","package","swift","swiftpm","swiftui","tvos","visionos"],"created_at":"2025-01-14T03:17:17.422Z","updated_at":"2026-05-08T05:55:20.368Z","avatar_url":"https://github.com/iOmega8561.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tools4SwiftUI\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://developer.apple.com/xcode/swiftui/\"\u003e\n    \u003cimg src=\"https://upload.wikimedia.org/wikipedia/en/5/55/SwiftUI_logo.png\" width=\"150\" height=\"150\"\u003e\n  \u003c/a\u003e\n\n  [![Swift](https://img.shields.io/badge/Swift-5.9-orange.svg)](https://swift.org/download/)\n  \u003cp\u003eCollection of reusable components and utilities to enhance SwiftUI development,\u003cbr\u003ewith a focus on flexibility, customization, and modern UI design.\u003c/p\u003e\n  \n\u003c/div\u003e\n\n---\n\n## Features\n\nTools4SwiftUI provides a powerful suite of components and utilities designed to simplify SwiftUI development. With a focus on reusability and flexibility, these tools are perfect for building modern, feature-rich applications.\n\n### **Just a Taste**\nHere are some of the highlights:\n\n- **Run asynchronous tasks:** Simplify task management with components like `BootstrapTask` and `AsyncButton`.\n- **Create modern UI elements:** Use components like `BubbleContainer`, `ComplexPicker`, and `ComplexStepper` for visually appealing and interactive designs.\n- **Enhance macOS apps:** Add powerful features like `SceneCommands` and `WindowPresentation` for macOS-specific customization.\n- **Localization:** Most components in Tools4SwiftUI are compatible with SwiftUI's localization system. `LocalizedStringKey` will get you covered.\n\n\u003e [!TIP]\n\u003e If you're a **macOS developer** targeting older OS versions, Tools4SwiftUI might be the perfect fit! The package **backports** newer SwiftUI features to macOS 14.xx Sonoma by wrapping AppKit functionality in **View** or **ViewModifier** structs. For instance, `WindowPresentation` mimics the behavior of `WindowToolbarFullScreenVisibility` introduced in macOS 15.xx.\n\n---\n\n## Example Snippet\n\nHere's an example showcasing advanced functionality using `AsyncFileButton` to integrate macOS file selection with asynchronous processing:\n\n```swift\nimport Tools4SwiftUI\nimport UniformTypeIdentifiers\n\nstruct ContentView: View {\n    var body: some View {\n\n        AsyncFileButton(\"Select a File\", allowedContentType: .plainText) { fileURL in\n\n            print(\"Processing file: \\(fileURL.path)\")\n\n            // Perform your async task with the selected file\n            try await processFile(fileURL)\n        }\n        .padding()\n    }\n\n    func processFile(_ url: URL) async throws {\n        // Simulate async processing\n        await Task.sleep(1_000_000_000)\n        print(\"File processed successfully: \\(url.lastPathComponent)\")\n    }\n}\n```\n\n---\n\n## Explore the Source Code\n\nEach component in Tools4SwiftUI is thoroughly documented in the source code. Check out the inline documentation to:\n\n- Learn about each component's purpose and functionality.\n- Explore detailed examples and usage guidelines.\n- Discover customization options for your projects.\n\nYou can browse the source code directly to discover what this awesome package reserves for you!\n\n---\n\n## Installation\n\n### Swift Package Manager (SPM)\nAdd the package to your Xcode project:\n\n1. In Xcode, go to **File \u003e Add Packages**.\n2. Enter the URL for this repository:  \n   ```plaintext\n   https://github.com/iOmega8561/Tools4SwiftUI.git\n   ```\n3. Choose the appropriate version rules and add the package.\n\n---\n\n## Why Tools4SwiftUI?\n\nWhether you're looking for convenience, customization, or just a quicker way to build modern SwiftUI apps, Tools4SwiftUI has you covered. With detailed documentation and easy integration, you can get started right away.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiomega8561%2Ftools4swiftui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiomega8561%2Ftools4swiftui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiomega8561%2Ftools4swiftui/lists"}