I created the most simple custom class in a separate Swift file in my project:
class Foo
{
init()
{
println(\"I made a foo.\")
}
}
They cannot. Playgrounds are self-contained. This will hopefully change in the future.
Edit: As of Xcode 6.3, Playgrounds can now contain supporting code. They still cannot see other code in the same project, but code can be added to the support folder of a Playground that can be used from within the playground. See the Swift blog for more info.