Do you write hundreds lines of code everyday ? And would you like to save ? Well than, code snippet libray may help you here.
The Concept of code snippets is saving a piece of code which we write very often. so now we can save it as snippet and use it quickly with shortcuts or drag & drop.
Here it is in IDE.
How to build A Custom Snippet ?
By default, Xcode provides serval snippets and let add our own.
- Select the code which you want to create as snippet.
- Just drag and drop inside the Snippet option.
we can also Edit Custom Snippet, Give the title and summary to our snippet, Completion Shortcut is what i like most its just give short name, define the scope, if its no longer required just select and delete it.