Xcode Playgrounds – Sources Folder

Apple has updated Playground support in Xcode 6.3 beta 3 with a Sources folder:

“This folder contains additional Swift source files that your main playground code can easily access. Code in the Sources folder also gains a big performance benefit because this code is compiled once, and is not run in the same interactive manner as the main playground code.”

There is a nice Mandelbrot demo project included in the latest beta demonstrating integration of the Sources folder.