How to drag and drop a custom code to code snippets and use a shortcut text for auto-fill as we did in Xcode < 10
And how to remove the snippets?
In Xcode select line or code to be added in code snippet and then
Option1
Goto Editor
choose the Create code snippet
Option 2
Select Code you want to add to snippet right click and choose create code snippet
Choose any snippet and press backspace
If you want to edit already added code snippet it is easy. just open code snippet library list (from right corner) from the list select code snippet you want to edit and press SPACE BAR button
Warning : My Xcode crashes randomly couple of time during removing or adding code snippet make sure you save your work (Xcode 10 BUG) :]
Hope it is helpful