Developers often run into situations where they need to use a similar snippet of code again and again. It's a lot of effort trying to find it in the codebase, from a random blog or the StackOverflow.
Xcode offers a way to save any code snippet and later retrieve it