{"id":19861634,"url":"https://github.com/wookay/uidesign","last_synced_at":"2026-05-14T10:38:12.301Z","repository":{"id":66506745,"uuid":"50388305","full_name":"wookay/UIDesign","owner":"wookay","description":"a simple UI DSL for swift","archived":false,"fork":false,"pushed_at":"2016-01-27T17:43:32.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T06:48:48.907Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/wookay/UIDesign","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/wookay.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}},"created_at":"2016-01-25T23:23:33.000Z","updated_at":"2016-04-09T15:02:03.000Z","dependencies_parsed_at":"2023-02-22T13:30:46.263Z","dependency_job_id":null,"html_url":"https://github.com/wookay/UIDesign","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wookay%2FUIDesign","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wookay%2FUIDesign/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wookay%2FUIDesign/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wookay%2FUIDesign/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wookay","download_url":"https://codeload.github.com/wookay/UIDesign/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241263405,"owners_count":19936057,"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-11-12T15:09:25.311Z","updated_at":"2026-05-14T10:38:12.263Z","avatar_url":"https://github.com/wookay.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"UIDesign\n========\n\n  [![Build Status](https://api.travis-ci.org/wookay/UIDesign.svg?branch=master)](https://travis-ci.org/wookay/UIDesign)\n\n\n\n```sh\n$ open samples/Counter/Counter.xcworkspace\n```\n\n```swift\nimport UIDesign\n\nclass ViewController: UIViewController {\n    override func viewDidLoad() {\n        super.viewDidLoad()\n\n        design { ui in\n            ui.add_spacing(60)\n            \n            let label = ui.add_label(\"\")\n            var n = 0 {\n                didSet {\n                    label.text = String(n)\n                }\n            }\n            \n            let up = ui.add_button(\"up\") { n += 1 }\n            ui.add_button(\"down\") { n -= 1 }\n            move(label, to: up.rightside)\n\n            n = 0\n        }\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwookay%2Fuidesign","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwookay%2Fuidesign","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwookay%2Fuidesign/lists"}