Xcode source Templates modified
Copy the folder Wallapop
in the folder File Templates
, you can find it here:
/Users/{your_user_folder}/Library/Developer/Xcode/Templates
Just create new files from the new Wallapop
section on the file creation screen.
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 withNS_ASSUME_NONNULL_BEGIN
andNS_ASSUME_NONNULL_END
by default - Added
[super awakeFromNib];
on classes missing it.
- All header files (
-
Swift files:
- All classe are
final
by default
- All classe are
- Tested on Xcode 7
- Thanks to @khoogheem and it's SwiftXcodeFileTemplates project, from where we extracted some of the templates.
This project is released under an MIT License. See LICENSE
for details.
Copyright © 2016-present Wallapop SL.