I\'m trying to follow some of the code used in the WWDC playgrounds session, I\'m trying to import the Cocoa framework with:
import Cocoa
B
This answer helped me:
https://forums.bignerdranch.com/t/import-cocoa-in-playground-is-giving-error/8091/2
I fixed it… never replace an iOS playground by a OS X playground when you name them the same… it’ll stick with the iOS mode…