Published: Oct 17, 2015
You can get the name of the current Playground page using the following snippet:
NSProcessInfo.processInfo().environment["PLAYGROUND_NAME"]