Xcode playgrounds can't access swift files in Sources folder -


i upgraded xcode 6.3 , offered new playgrounds. if make new playgrounds , open project navigator, see sources folder , inside there "supportcode.swift" file. @ top of file reads

this file (and other swift source files in sources directory  of playground) precompiled framework automatically made available <playground_name>.playground. 

i tried putting function in there , not available playground. doing wrong? have manually compile supportcode.swift file manually? how?

you have add public access attribute classes, methods , properties in source folder make them accessible main playground file treated separate module compiler


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -