Templates and snippets for iOS Developer using Xcode.
Project templates with Liftoff cannot be released publicly for now. Feel free to contact me about it.
| Name | Description | Instalation script |
|---|---|---|
| Xcode Templates | Xcode files templates | Xcode/FilesTemplates/addToXcode.sh |
| Xcode Snippets | Xcode snippets (shortcuts) | Xcode/Snippets/addToXcode.sh |
| Name |
|---|
| UIView |
| UIViewController |
| UITableViewCell |
| UITableViewDataSource |
| UICollectionViewCell |
| UICollectionViewDataSource |
| RealmModel |
To install Xcode templates clone this repository execute script in Xcode/FilesTemplates/addToXcode.sh
./Xcode/FilesTemplates/addToXcode.shOpen Xcode > File > New File scroll down and you'll see a template section !
| Name | Description | Xcode shortcut |
|---|---|---|
UITableView |
||
| UITableViewSetup | Insert function to configure a UITableView | tvSetup |
| UITableViewProtocols | Insert extension with implementation of UITableView protocols | tvProto |
UICollectionView |
||
| UICollectionViewSetup | Insert function to configure a UICollectionView | cvSetup |
| UICollectionViewProtocols | Insert extension with implementation of UICollectionView protocols | cvProto |
Misc |
||
| pragmaTodo | Insert pragma todo | todo |
| pragmaMark | Insert pragma mark | mark |
| UIStoryboardSeguePrepare | Insert implementation of UIStoryboardSegue prepare function | segueNavigation |
😇 Instead of using UITableViewProtocols & UICollectionViewProtocols snippets, you can use UITableViewDataSource & UICollectionViewDataSource file template (section #1).
To install Xcode snippets clone this repository execute script in Xcode/Snippets/addToXcode.sh
./Xcode/Snippets/addToXcode.shOpen an Xcode project and type a shortcut like present in table (todo, cvSetup, ...)
This code and tool is under license. See the LICENSE file in this repository.