To really split hairs, the iPhone 10.10 SDK from Xcode 8.0 beta 1 has the
+isMainThread, and beta 2 has the class property :-)  (being a collector of
header files...)

(and I do need to break that 8.2 for 8-beta-2 habit)

++md


On Wed, Jul 13, 2016 at 11:34 AM, Jens Alfke <j...@mooseyard.com> wrote:

>
> > On Jul 13, 2016, at 7:20 AM, Mark Dalrymple via swift-users <
> swift-users@swift.org> wrote:
> >
> > It's a change in Xcode 8.2 - NSThread.isMainThread in ObjC land is now a
> class property:
>
>                 ^^ Xcode 8.0 (beta)
>
> > In Xcode 8.1(and since iPhone OS 2) it was a regular old-school class
> method:
>
>         ^^ Xcode 7.x
>
> Strictly speaking, this is a change in the iOS 10 / macOS 10.12 SDKs (but
> of course they’re rev-locked to Xcode versions.)
>
> —Jens
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to