Skip to content

Templates and snippets for iOS Developer using Xcode.

License

Notifications You must be signed in to change notification settings

Maximelc/iOS-Xcode-Starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

iOS-Xcode-Starter

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.

Repository details

Name Description Instalation script
Xcode Templates Xcode files templates Xcode/FilesTemplates/addToXcode.sh
Xcode Snippets Xcode snippets (shortcuts) Xcode/Snippets/addToXcode.sh

1) Xcode Templates

Name
UIView
UIViewController
UITableViewCell
UITableViewDataSource
UICollectionViewCell
UICollectionViewDataSource
RealmModel

⚠️ For some file template Reusable Pod is needed.

Instalation:

To install Xcode templates clone this repository execute script in Xcode/FilesTemplates/addToXcode.sh

./Xcode/FilesTemplates/addToXcode.sh

Usage

Open Xcode > File > New File scroll down and you'll see a template section !

2) Xcode Snippets

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).

Instalation:

To install Xcode snippets clone this repository execute script in Xcode/Snippets/addToXcode.sh

./Xcode/Snippets/addToXcode.sh

Usage

Open an Xcode project and type a shortcut like present in table (todo, cvSetup, ...)

License

This code and tool is under license. See the LICENSE file in this repository.

Releases

No releases published

Packages

No packages published

Languages