Trying to test out some iOS 9 / OSX 10.11 stuff in a playground, but an seeing errors that seem to indicate that I can't try out new stuff in a playground. Specifically, trying to test out some things from the latest nshipster.com article:
import UIKit
let formatter = NSNumberFormatter()
formatter.numberStyle = NSNumberFormatterStyle.OrdinalStyle
This gives me an error in the console:
Playground execution failed: /var/folders/tf/3k7qp8615ml80kjsshq70hnr0000gp/T/./lldb/3312/playground8.swift:6:48: error: 'OrdinalStyle' is only available on iOS 9.0 or newer
formatter.numberStyle = NSNumberFormatterStyle.OrdinalStyle
^
/var/folders/tf/3k7qp8615ml80kjsshq70hnr0000gp/T/./lldb/3312/playground8.swift:6:48: note: guard with version check
formatter.numberStyle = NSNumberFormatterStyle.OrdinalStyle
So basically XCode 7 is useless to try out the latest code? Seems like a big problem...