ios - Xcode Playground: new pages cannot refer to source files -
i excited view the video on wwdc2015 session 405 authoring rich playgrounds , in seem promise reuse piece of code in sources, among different pages.
however, seems not happen automatically. mean, new page cannot aceess func defined in source swift file.
what should access func defined in source file?
thanks
you need make function or class public.
Comments
Post a Comment