I tried this, and I still get the same error. The documentation may not be up to date.
The test environment I am using is swiftPlayground, and I also opened the playground under Xcode to see.
I get the error regardless of whether I use the static function or just a simple 'let' variable.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: