I\'m trying to use the new #imageLiteral
inline image assignment from your assets folder in Xcode 8, where instead of the whole UIImage(named: \"\")
You should check Swift Version.
Build Settings > Use Legacy Swift Language Version = NO
Image Literal is only supported on Swift3.0, not Swift2.3.
For all having the same problem with Xcode 10 / Swift 4.2 -> Unfortunately, this feature (imageLiterals, auto completion ) was deprecated in its previous form.
But there is new way to use imageLiterals -> https://stackoverflow.com/a/52523111/3143890