{"id":22192534,"url":"https://github.com/3sidedcube/storyboard-designable","last_synced_at":"2025-07-13T17:07:13.424Z","repository":{"id":79436599,"uuid":"71790701","full_name":"3sidedcube/storyboard-designable","owner":"3sidedcube","description":"A helpful set of extensions and subclasses for easier Storyboard UI design","archived":false,"fork":false,"pushed_at":"2016-10-24T13:32:17.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-28T17:07:39.074Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/3sidedcube.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":"2016-10-24T13:15:31.000Z","updated_at":"2016-10-24T21:40:17.000Z","dependencies_parsed_at":"2023-09-09T00:02:17.847Z","dependency_job_id":null,"html_url":"https://github.com/3sidedcube/storyboard-designable","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/3sidedcube/storyboard-designable","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3sidedcube%2Fstoryboard-designable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3sidedcube%2Fstoryboard-designable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3sidedcube%2Fstoryboard-designable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3sidedcube%2Fstoryboard-designable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3sidedcube","download_url":"https://codeload.github.com/3sidedcube/storyboard-designable/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3sidedcube%2Fstoryboard-designable/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265175531,"owners_count":23722658,"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-12-02T12:25:53.363Z","updated_at":"2025-07-13T17:07:13.374Z","avatar_url":"https://github.com/3sidedcube.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# storyboard-designable\nA helpful set of extensions and subclasses for easier Storyboard UI design on both macOS and iOS projects\n\n## Usage\n\nSimply drop the swift file into your project!\n\n## Extension on `UIView`/`NSView`\n\nWe provide an extension on both `UIView` and `NSView` which adds the following properties as IBDesignables in Interface Builder:\n\n- Border Color (`UIColor`/`NSColor`)\n- Border Width (`CGFloat`)\n- Corner Radius (`CGFloat`)\n- Shadow:\n  - Color (`UIColor`/`NSColor`)\n  - Opacity (`CGFloat`)\n  - Offset (`CGPoint`)\n  - Radius (`CGFloat`)\n  \nPlease note, all though these will be available in Interface Builder, they will not render in a storyboard unless you change your view's class to be of class `TSCView`, when you will get to see exactly how your layout looks directly in Interface Builder.\n\n## Buttons\n\nWe provide a standard button style, which can be used by using the custom class `TSCButton` (And `TSCPopupButton` on macOS), which adds the following properties:\n\n- Use Border Color (`Bool`): Forces the button to use the border color from the `UIView`/`NSView` extension\n- Primary Color (`UIColor`/`NSColor`)\n- Secondary Color (`UIColor`/`NSColor`)\n- Solid Mode (`Bool`) Whether the button should be solid, or bordered\n- Edge Insets (`CGSize`) Adds extra edge insets to the button\n\nWe provide two types of buttons: Solid and Bordered\n### Solid Buttons\nUse Primary Color as the background color, and secondary color as the title color.\n\n### Bordered Buttons\nUse Primary Color as the border color, and secondary color as the title color.\n\n## UITextField\n\nAdds the property `textInsets` for adding custom insets to the text field.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3sidedcube%2Fstoryboard-designable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3sidedcube%2Fstoryboard-designable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3sidedcube%2Fstoryboard-designable/lists"}