{"repo":"fulldecent/swift6-module-template","free":true,"listed":false,"github":"https://github.com/fulldecent/swift6-module-template","clone":"git clone https://github.com/fulldecent/swift6-module-template.git","description":"An opinionated starting point for awesome, reusable Swift 6 modules","language":"Swift","stars":487,"topics":["swift","cocoapods","ios","template","xcode","swift-package-manager"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Swift 6 Module Template Recipe: Generated project: Use this template as a starting point for any Swift 6 module that you want other people to include in their projects. :white check mark: STATUS: This template is ready and works in production code. See releases to confirm we support the latest Xcode version. Features Your new Swift module will immediately have working, compilable code, and implement these best practices: - Ability to be used from Swift Package Manager - Clean folder structure - MIT license - Testing as a standard - Turnkey access to GitHub Actions testing recommended by the Swift project - Semantic versioning and a CHANGELOG - Included example/demo app using SwiftUI - Use a Xcode project to manage your code How to use this Clone or download a release and run the ./configure.swift program. It will ask you some questions and generate a project. You then add all the interesting features you want your module to have. Automating the configure script To skip interactive prompts in the ./configure.swift script, use these environment variables: Template variable Environment variable -------------------------------- ---------------------------------------- PROJECT NAME SMT PROJECT NAME ORGANIZATION NAME SMT ORGANIZATION NAME com.AN.ORGANIZATION.IDENTIFIER SMT COM AN ORGANIZATION IDENTIFIER AUTHOR NAME SMT AUTHOR NAME TODAYS DATE SMT TODAYS DATE TODAYS YEAR SMT TODAYS YEAR GITHUB USERNAME SMT GITHUB USERNAME For example, you may use: export SMT ORGANIZATION NAME='Aweso","default_branch":null,"files":null,"tree":[],"storefront":"/r/fulldecent","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fulldecent/swift6-module-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}