I came up with a workaround
Create code snippets for color literal and image literal like below
Color
#colorLiteral()
And add completion shortcut as you want, Example: colorLiteral.
Do same for Image literal
Image
#imageLiteral()
And add completion shortcut as you want. Call those completion shortcuts in your code to get color and image literals.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: