{"id":15038490,"url":"https://github.com/mihail-konoplitskyi/4ksoft-xcode-templates","last_synced_at":"2026-03-02T08:34:26.607Z","repository":{"id":59890579,"uuid":"537892351","full_name":"mihail-konoplitskyi/4KSOFT-XCode-Templates","owner":"mihail-konoplitskyi","description":"Native XCode Templates written with Swift 5 for automatic components generation and saving iOS/MacOS developers time","archived":false,"fork":false,"pushed_at":"2022-09-27T18:43:48.000Z","size":22710,"stargazers_count":50,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-10T01:14:22.649Z","etag":null,"topics":["4k-soft","apple","automation","example-repo","example-screen","examples","ios","ios-demo","ios-ui","macos","mit-license","opensource","swift","swift-language","swift-xcode-templates","swift5","swiftui","xcode","xcode-templates","xcodeproj"],"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/mihail-konoplitskyi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-17T18:09:32.000Z","updated_at":"2025-02-18T15:44:27.000Z","dependencies_parsed_at":"2023-01-19T00:01:19.106Z","dependency_job_id":null,"html_url":"https://github.com/mihail-konoplitskyi/4KSOFT-XCode-Templates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mihail-konoplitskyi/4KSOFT-XCode-Templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mihail-konoplitskyi%2F4KSOFT-XCode-Templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mihail-konoplitskyi%2F4KSOFT-XCode-Templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mihail-konoplitskyi%2F4KSOFT-XCode-Templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mihail-konoplitskyi%2F4KSOFT-XCode-Templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mihail-konoplitskyi","download_url":"https://codeload.github.com/mihail-konoplitskyi/4KSOFT-XCode-Templates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mihail-konoplitskyi%2F4KSOFT-XCode-Templates/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266673586,"owners_count":23966379,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["4k-soft","apple","automation","example-repo","example-screen","examples","ios","ios-demo","ios-ui","macos","mit-license","opensource","swift","swift-language","swift-xcode-templates","swift5","swiftui","xcode","xcode-templates","xcodeproj"],"created_at":"2024-09-24T20:38:39.825Z","updated_at":"2026-03-02T08:34:26.549Z","avatar_url":"https://github.com/mihail-konoplitskyi.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XCode Templates written with Swift 5\n\n[![Swift](https://img.shields.io/badge/Swift-5.3_5.4_5.5_5.6-orange?style=flat-square)](https://img.shields.io/badge/Swift-5.3_5.4_5.5_5.6-Orange?style=flat-square)\n[![Platforms](https://img.shields.io/badge/Platforms-macOS_iOS-yellowgreen?style=flat-square)](https://img.shields.io/badge/Platforms-macOS_iOS_tvOS-Green?style=flat-square)\n[![Platforms](https://img.shields.io/badge/license-MIT-blue)](https://img.shields.io/badge/license-MIT-blue) \n[![SwiftLint](https://img.shields.io/badge/SwiftLint-approved-darkgreen?style=flat-square)](https://img.shields.io/badge/SwiftLint-approved-darkgreen?style=flat-square) \n[![Join the chat at https://gitter.im/XCode-Templates/XCode_Templates](https://badges.gitter.im/XCode-Templates/XCode_Templates.svg)](https://gitter.im/XCode-Templates/XCode_Templates?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nXCode Templates was created to save time for iOS/MacOS developers that are usually spending time copy-pasting same code from another projects just to create new screen with simple UI elements. With XCode Templates this process can be significantly automated.\n\nIt automatically creates MVP components for a new screen: programmatical view, view controller, helpers, services, extension, models, etc.\n\nThe main idea is to create All-in-One solution where developer will be able to select template, UI framework (UIKit/SwiftUI) and select needed architecture (MVC/MVP/MVVM/VIPER). \nIn every template I'm using only programmatical view, no xib/storyboard. \n\nFeel free to leave your [wishes](https://github.com/mihail-konoplitskyi/4KSOFT-XCode-Templates/issues/new) and [comments](https://github.com/mihail-konoplitskyi/4KSOFT-XCode-Templates/issues/new).\n\n- [How to start using](#how-to-start-using)\n- [Examples](#examples)\n- [Projects](#projects-built-with-xcode-templates)\n- [Future plans](#future-plans)\n\n## How to start using\n\n- Create \"Templates\" directory \n\n  ```bash\n    $ mkdir ~/Library/Developer/Xcode/Templates\n  ```\n\n- Open \"Templates\" directory that you just created\n\n  ```\n    $ cd ~/Library/Developer/Xcode/Templates\n  ```\n  \n- Clone repository \n\n  ```\n    $ git clone https://github.com/mihail-konoplitskyi/4KSOFT-XCode-Templates.git\n  ```\n\n- Restart XCode if it was opened\n\n- Open XCode project, press CMD+N, scroll down to 4KSOFT-XCode-Templates and use needed template\n\n  ![How to select template](https://github.com/mihail-konoplitskyi/4KSOFT-XCode-Templates/blob/master/images/select_template.png)\n\n- Add newly created module to a project \n\n  ![Copy module](https://github.com/mihail-konoplitskyi/4KSOFT-XCode-Templates/blob/master/images/add_module.png)\n\n  ![Copy module 2](https://github.com/mihail-konoplitskyi/4KSOFT-XCode-Templates/blob/master/images/add_module_2.png)\n\n- Remove module reference from a project (remove reference, not a directory)\n\n  ![Remove reference](https://github.com/mihail-konoplitskyi/4KSOFT-XCode-Templates/blob/master/images/remove_reference.png)\n\n- Highly recommend to use [SwiftLint](https://github.com/realm/SwiftLint#installation) in your project using [.swiftlint.yml](https://github.com/mihail-konoplitskyi/4KSOFT-XCode-Templates/blob/master/.swiftlint.yml) which was used to create templates\n\n- Templates are using different third-party frameworks. You can find installation guide below: \n  - [SnapKit](https://github.com/SnapKit/SnapKit#installation) (DSL to make Auto Layout easy on both iOS and OS X)\n  \n## Examples\n\n#### Empty View Controller\n  ![Empty View Controller Screenshot](https://github.com/mihail-konoplitskyi/4KSOFT-XCode-Templates/blob/master/images/EmptyViewControllerScreenshot.png)\n\n#### Table View\n  ![Custom Table View Cell](https://github.com/mihail-konoplitskyi/4KSOFT-XCode-Templates/blob/master/images/CustomTableViewCell.gif)\n\n#### Collection View\n  ![Collection View](https://github.com/mihail-konoplitskyi/4KSOFT-XCode-Templates/blob/master/images/CustomCollectionViewCell.gif)\n\n#### Carousel Collection View\n  ![Carousel Collection View](https://github.com/mihail-konoplitskyi/4KSOFT-XCode-Templates/blob/master/images/CarouselCollectionView.gif)\n  \n#### Paging Scroll View\n  ![Paging Scroll View](https://github.com/mihail-konoplitskyi/4KSOFT-XCode-Templates/blob/master/images/PagingScrollView.gif)\n\n## Projects built with XCode Templates\n\n  - [Hide Expert VPN](https://apps.apple.com/gb/app/hide-expert-vpn/id1616168170?platform=iphone)\n  - [Sona](https://apps.apple.com/gb/app/sona-healthy-sleep/id1617545266)\n\n## Future plans\n\nAll iOS/MacOS developers are spending tons of time doing absolutely identical work. This repository was created to solve this problem. In a close future I will create most recent templates for developers needs.\n\nAfter most recent templates will be created with UIKit, I'll start preparing AppKit templates for MacOS and SwiftUI templates. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmihail-konoplitskyi%2F4ksoft-xcode-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmihail-konoplitskyi%2F4ksoft-xcode-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmihail-konoplitskyi%2F4ksoft-xcode-templates/lists"}