{"id":13634196,"url":"https://github.com/87kangsw/ThenGenerator","last_synced_at":"2025-04-18T14:34:00.248Z","repository":{"id":44975770,"uuid":"326455407","full_name":"87kangsw/ThenGenerator","owner":"87kangsw","description":"Xcode Source Editor Extension for 'Then'","archived":false,"fork":false,"pushed_at":"2022-01-15T05:24:56.000Z","size":17311,"stargazers_count":20,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-01T23:32:45.595Z","etag":null,"topics":["syntactic-sugar","then","xcode-source-editor-extension"],"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/87kangsw.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}},"created_at":"2021-01-03T16:51:35.000Z","updated_at":"2024-07-23T03:50:26.000Z","dependencies_parsed_at":"2022-09-14T05:40:17.347Z","dependency_job_id":null,"html_url":"https://github.com/87kangsw/ThenGenerator","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/87kangsw%2FThenGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/87kangsw%2FThenGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/87kangsw%2FThenGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/87kangsw%2FThenGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/87kangsw","download_url":"https://codeload.github.com/87kangsw/ThenGenerator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223782688,"owners_count":17201830,"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":["syntactic-sugar","then","xcode-source-editor-extension"],"created_at":"2024-08-01T23:00:58.708Z","updated_at":"2024-11-09T03:30:39.635Z","avatar_url":"https://github.com/87kangsw.png","language":"Swift","readme":"# ThenGenerator\n\n\u003cp align=center\u003e\n\u003ca href=\"https://apps.apple.com/us/app/thengenerator/id1499993324?mt=12\u0026amp;itscg=30200\u0026amp;itsct=apps_box\" style=\"width: 170px; height: 170px; border-top-left-radius: 22%; border-top-right-radius: 22%; border-bottom-right-radius: 22%; border-bottom-left-radius: 22%; overflow: hidden; display: inline-block; vertical-align: middle;\"\u003e\u003cimg src=\"./.github/images/icon_512x512.png\" alt=\"ThenGenerator\" style=\"width: 170px; height: 170px; border-top-left-radius: 22%; border-top-right-radius: 22%; border-bottom-right-radius: 22%; border-bottom-left-radius: 22%; overflow: hidden; display: inline-block; vertical-align: middle;\"\u003e\u003c/a\u003e\n\n\u003c/p\u003e\n\n## Overview\n\nThenGenerator is Xcode Source Editor Extension for [Then](https://github.com/devxoul/Then)\n\n## Install\n\n\u003ca href=\"https://apps.apple.com/us/app/thengenerator/id1499993324?mt=12\u0026amp;itsct=apps_box\u0026amp;itscg=30200\" style=\"display: inline-block; overflow: hidden; border-top-left-radius: 13px; border-top-right-radius: 13px; border-bottom-right-radius: 13px; border-bottom-left-radius: 13px; width: 250px; height: 83px;\"\u003e\u003cimg src=\"https://tools.applemediaservices.com/api/badges/download-on-the-mac-app-store/black/en-US?size=250x83\u0026amp;releaseDate=1610668800\u0026h=b1b571a8554d47f187619067dd9c33a0\" alt=\"Download on the Mac App Store\" style=\"border-top-left-radius: 13px; border-top-right-radius: 13px; border-bottom-right-radius: 13px; border-bottom-left-radius: 13px; width: 250px; height: 83px;\"\u003e\u003c/a\u003e\n\n## Enviroment\n\n- macOS 11.0 (Big Sur)\n- SwiftUI\n- UserDefaults\n\n## How to use\n\n1. Install ThenGenerator\n2. Enable Xcode Source Editor\n\n   - `` -\u003e `System Preferences` -\u003e `Extensions`\n   - Check `ThenGenerator`\n\n   \u003cimg src=\"./.github/images/systempreference.png\"\u003e\n\n3. Input variable name for Generate code. Without `UI` prefix.\n4. If you want to create a UILabel class with variable name `repoNameLabel`, you input text `VariableName + Label`\n5. Select variable name\n6. `Editor` -\u003e `ThenGenerator` -\u003e `Generate Then Code`\n\n   \u003cimg src=\"./.github/images/manual.png\"\u003e\n\n## Use Shortcut\n\n1. Xcode Preferences.. (`⌘` + `,`)\n2. Key Bindings\n3. Search ThenGenerator\n4. Add Shortcut\n\n\u003cimg src=\"./.github/images/keybinding.png\"\u003e\n\n## Change Properties\n\n1. Launch `ThenGeneratorApp`\n2. Find `UIKit` class and turn on/off switch\n\n\u003cimg src=\"./.github/images/property.png\"\u003e\n\n## Demo\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003cth\u003eSingle\u003c/th\u003e\n\u003c/tr\u003e\n\u003ctd\u003e\n\u003cimg src=\"./.github/images/single.gif\"\u003e\n\u003c/td\u003e\n\n\u003ctr\u003e\n\u003cth\u003eMultiline\u003c/th\u003e\n\u003c/tr\u003e\n\u003ctd\u003e\n\u003cimg src=\"./.github/images/multiLine.gif\"\u003e\n\u003c/td\u003e\n\n\u003c/table\u003e\n\n## Contribution\n\n### Xcodegen Support\n- Clone -\u003e `xcodegen generate` \n\nIf you find a bug or want to add a new property, find `XXXXModel.swift` in Models Folder and fix or append property.\nAnd find `XXXXComponent.swift` in ComponentViews Folder and add `SwitchView` with new property.\n\n## References\n\n- [ViewGenerator](https://github.com/funzin/ViewGenerator)\n","funding_links":[],"categories":["The list","Utilities","Applications"],"sub_categories":["Typed Boilerplate Code Generators","Text","🛠️ Utilities (79)","Utilities"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F87kangsw%2FThenGenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F87kangsw%2FThenGenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F87kangsw%2FThenGenerator/lists"}