Skip to content

A template to allow Xcode to generate a Swift UIKit file with no header comment

Notifications You must be signed in to change notification settings

CodingItWrong/no-comment-uikit-swift-file-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

No Comment UIKit Swift File Template

A template to allow Xcode to generate a new Swift file saving two bits of work:

  1. Removing the header comment, and
  2. Importing from UIKit instead of from Foundation, as that's more common in iOS apps

Installation

Clone this repo into ~/Library/Developer/Xcode/Templates/File Templates/MultiPlatform/Source (creating any missing directories)

Then, when creating a new file in Xcode, you should see "No Comment UIKit Swift File" as the first option.

Source

https://developer.apple.com/forums/thread/711305

License

MIT

About

A template to allow Xcode to generate a Swift UIKit file with no header comment

Topics

Resources

Stars

Watchers

Forks

Languages