{"id":20478102,"url":"https://github.com/swiftui-plus/uikithelpers","last_synced_at":"2025-04-13T13:13:01.935Z","repository":{"id":116152820,"uuid":"404870950","full_name":"SwiftUI-Plus/UIKitHelpers","owner":"SwiftUI-Plus","description":"A set of UIKit helpers that simplify the usage of UIKit view's and controller's in SwiftUI. Many of these helpers are useful even in a pure UIKit project.","archived":false,"fork":false,"pushed_at":"2021-09-22T10:24:39.000Z","size":4,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T04:12:33.401Z","etag":null,"topics":["swift","swiftui","uikit"],"latest_commit_sha":null,"homepage":"https://benkau.com/packages.json","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/SwiftUI-Plus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-09-09T21:10:16.000Z","updated_at":"2023-09-13T11:21:00.000Z","dependencies_parsed_at":"2024-01-18T05:22:58.232Z","dependency_job_id":"8471dd3b-33cb-4285-94d1-76b44c085c66","html_url":"https://github.com/SwiftUI-Plus/UIKitHelpers","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftUI-Plus%2FUIKitHelpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftUI-Plus%2FUIKitHelpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftUI-Plus%2FUIKitHelpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SwiftUI-Plus%2FUIKitHelpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SwiftUI-Plus","download_url":"https://codeload.github.com/SwiftUI-Plus/UIKitHelpers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248717237,"owners_count":21150389,"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","swiftui","uikit"],"created_at":"2024-11-15T15:35:13.869Z","updated_at":"2025-04-13T13:13:01.904Z","avatar_url":"https://github.com/SwiftUI-Plus.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"![ios](https://img.shields.io/badge/iOS-13-green)\n\n# UIKit Helpers\n\n\u003e Also available as a part of my [SwiftUI+ Collection](https://benkau.com/packages.json) – just add it to Xcode 13+\n\nA set of UIKit helpers that simplify the usage of UIKit view's and controller's in SwiftUI. Many of these helpers are useful even in a pure UIKit project.\n\n## UIWrapping\n\n```swift\nUIWrapping\u003cUILabel\u003e { view in\n    view.numberOfLines = 0\n    view.text = \"Lets enable\\nmultiple lines.\"\n    view.textAlignment = .center\n}\n.background(Color.green)\n.fixedSize()\n```\n\n## UIViewBuilder\n\nWorks exactly as you'd expect. Essentially just a UIView version-ish of a `ViewBuilder`.\n\nIt improves container-like APIs.\n\n## Installation\n\nThe code is packaged as a framework. You can install manually (by copying the files in the `Sources` directory) or using Swift Package Manager (**preferred**)\n\nTo install using Swift Package Manager, add this to the `dependencies` section of your `Package.swift` file:\n\n`.package(url: \"https://github.com/SwiftUI-Plus/UIKitHelpers.git\", .upToNextMinor(from: \"1.0.0\"))`\n\n## Other Packages\n\nIf you want easy access to this and more packages, add the following collection to your Xcode 13+ configuration:\n\n`https://benkau.com/packages.json`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftui-plus%2Fuikithelpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswiftui-plus%2Fuikithelpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswiftui-plus%2Fuikithelpers/lists"}