waltflanagan / xcode-templates

Xcode source Templates modified

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

license MIT

xcode-templates

Xcode source Templates modified

Screenshot0

Installation

Copy the folder Wallapop in the folder File Templates, you can find it here:

/Users/{your_user_folder}/Library/Developer/Xcode/Templates

How to

Just create new files from the new Wallapop section on the file creation screen.

What's different?

A few things, like spaces, but the interesting part is:

  • All Files:

    • Header comments without file/project name
  • Objective-C files:

    • All header files (.h) come with NS_ASSUME_NONNULL_BEGIN and NS_ASSUME_NONNULL_END by default
    • Added [super awakeFromNib]; on classes missing it.
  • Swift files:

    • All classe are final by default

Compatibility

  • Tested on Xcode 7

Credits

License

This project is released under an MIT License. See LICENSE for details.

Copyright © 2016-present Wallapop SL.

About

Xcode source Templates modified

License:MIT License