{"id":19688553,"url":"https://github.com/maxvol/swiftdsl","last_synced_at":"2025-08-10T16:37:26.694Z","repository":{"id":89974919,"uuid":"168765041","full_name":"maxvol/SwiftDSL","owner":"maxvol","description":"Core method(s) for writing Swift DSL.","archived":false,"fork":false,"pushed_at":"2020-07-02T19:08:02.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-18T21:41:13.716Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxvol.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":"2019-02-01T21:53:36.000Z","updated_at":"2020-07-02T19:07:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2a23e41-2134-4f8a-acbd-4f167307130f","html_url":"https://github.com/maxvol/SwiftDSL","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/maxvol/SwiftDSL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxvol%2FSwiftDSL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxvol%2FSwiftDSL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxvol%2FSwiftDSL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxvol%2FSwiftDSL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxvol","download_url":"https://codeload.github.com/maxvol/SwiftDSL/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxvol%2FSwiftDSL/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269754070,"owners_count":24470514,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11T18:38:19.334Z","updated_at":"2025-08-10T16:37:26.631Z","avatar_url":"https://github.com/maxvol.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SwiftDSL\nCore method(s) for writing Swift DSL.\n\n** WORK IN PROGRESS, NOT USABLE AS OF YET **\n\n`SwiftDSL` serves as dependency for:\n* https://github.com/maxvol/CoreAnimationDSL/\n* https://github.com/maxvol/GameplayKitDSL/\n* https://github.com/maxvol/SpriteKitDSL/\n* https://github.com/maxvol/SceneKitDSL/\n* https://github.com/maxvol/ARKitDSL/\n\nAt the moment only one method `.apply()` is defined.\n\nIt allows executing closures on objects of compliant classes like that:\n```\n// make class compliant\nextension UIBezierPath: DSL { }\n\n// use DSL\nlet line = UIBezierPath().apply {\n    $0.move(to: lowerRightCorner)\n    $0.addLine(to: upperLeftCorner)\n    $0.addLine(to: lowerLeftCorner)\n    $0.addLine(to: center)\n}\n```\nCarthage config:\n```\ngithub \"maxvol/SwiftDSL\" ~\u003e 0.0.1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxvol%2Fswiftdsl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxvol%2Fswiftdsl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxvol%2Fswiftdsl/lists"}