{"id":17163281,"url":"https://github.com/noppefoxwolf/hostingview","last_synced_at":"2025-03-24T16:43:49.053Z","repository":{"id":237468807,"uuid":"762819984","full_name":"noppefoxwolf/HostingView","owner":"noppefoxwolf","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-24T19:26:33.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-29T21:54:40.797Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noppefoxwolf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-02-24T19:26:32.000Z","updated_at":"2024-10-28T10:58:32.000Z","dependencies_parsed_at":"2024-05-02T05:46:05.311Z","dependency_job_id":"6dfab732-15a1-4e68-b6d3-277031591298","html_url":"https://github.com/noppefoxwolf/HostingView","commit_stats":null,"previous_names":["noppefoxwolf/hostingview"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FHostingView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FHostingView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FHostingView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noppefoxwolf%2FHostingView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noppefoxwolf","download_url":"https://codeload.github.com/noppefoxwolf/HostingView/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245315224,"owners_count":20595212,"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":[],"created_at":"2024-10-14T22:48:30.535Z","updated_at":"2025-03-24T16:43:49.031Z","avatar_url":"https://github.com/noppefoxwolf.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HostingView\n\n# Usage\n\n## HostingView\n\n```swift\nlet view = HostingView(rootView: Text(\"Hello, World!\"))\n```\n\n## StoredHostingView\n\n```swift\nlet countLabel = StoredHostingView(rootView: CounterView(), CounterView.Model())\ncountLabel.count += 1\n```\n\n```swift\nstruct CounterView: View {\n    @Observable\n    class Model {\n        var count = 0\n    }\n    \n    @Environment(Model.self)\n    var model\n    \n    var body: some View {\n        Text(model.count.formatted())\n    }\n}\n```\n\n# License\n\nHostingView is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoppefoxwolf%2Fhostingview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoppefoxwolf%2Fhostingview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoppefoxwolf%2Fhostingview/lists"}