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: \"\")
#imageLiteral
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.