I am watching a video that is teaching me how to use CGColor and when the person types:
layer.shadowColor = CGColor
after the person hit Enter a color palette window shows up. (The screenshot is from the video and the version of swift being used is swift 9 / xcode 4?
CGColor Palette Window
when I type the same line in swift 15 it just stays the same:
layer.shadowColor = CGColor
I would rather use the method in the picture since it looks easier. I am only on my first month of learning swift/xcode any help would be appreciated!
Luis
tried searching for any resource and could not find anything in xcode help, discussions.apple, developer.apple and swift manual (perhaps I missed it?)
Xilam21 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.