AppKit in playground

Is it possible to import AppKit into playground?

Just by simply typeing it in it returns: "No such module 'AppKit'".

Just faced the same message, and could solve it:


  • Open your playground in question, e.g. "MyPlayGround"
  • Show the Project Navigator
  • Select the playground, e.g. "MyPlayGround"
  • Show the File Inspector
  • Change property "Playground Settings > Platform" from "iOS" to "macOS".


Voilá!

How do i implement appkit in the localization swifty system?
AppKit in playground
 
 
Q