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

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -