Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kharrison/Xcode-Templates
Xcode File And Project Templates
https://github.com/kharrison/Xcode-Templates
ios objective-c swift xcode
Last synced: 28 days ago
JSON representation
Xcode File And Project Templates
- Host: GitHub
- URL: https://github.com/kharrison/Xcode-Templates
- Owner: kharrison
- License: other
- Created: 2018-01-28T21:41:37.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2020-06-12T14:23:56.000Z (over 4 years ago)
- Last Synced: 2024-11-21T23:53:24.785Z (about 1 month ago)
- Topics: ios, objective-c, swift, xcode
- Homepage: https://useyourloaf.com
- Size: 95.7 KB
- Stars: 109
- Watchers: 9
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Xcode File And Project Templates
This repository contains custom Xcode file and project templates. See below for a full description and installation details.
### Project Templates
The project templates appear in a `Personal` group in the template browser. You can change the name of this group by changing the installation folder.
+ **Manual Single View App:** This template builds on the Xcode single view app template but does not use a Storyboard. It creates the window and root view controller manually in the App Delegate. Project options allow you to choose the name of the view controller class and whether to embed it in a navigation controller.
### File Templates
The file templates appear in a `Personal` group in the template browser. You can change the name of this group by changing the installation folder.
+ **UIKit Class:** Custom `UIView` and `UIViewController` file templates that call a private `setupView` method to add views and constraints. The configuration options are similar to the default Cocoa Touch Class file templates.
### Installation
1. If it does not yet exist create the `Project Templates` and `File Templates` folders under your home directory:
$ mkdir -p ~/Library/Developer/Xcode/Templates/Project\ Templates
$ mkdir -p ~/Library/Developer/Xcode/Templates/Files\ Templates2. Copy the contents of the `Project Templates` and `File Templates` folders in this repository into the above folders.
3. The templates appear in the Xcode file and project template browsers under a `Personal` group. You can change the name of this group by renaming the installation folder in the `File Templates` or `Project Templates` folders:
### Further Details
See this blog post for more details on creating custom Xcode project templates:
+ [Creating Custom Xcode Project Templates](https://useyourloaf.com/blog/creating-custom-xcode-project-templates/)