Re: Swift changes in Xcode 8
Re: Swift changes in Xcode 8
- Subject: Re: Swift changes in Xcode 8
- From: Rick Mann <email@hidden>
- Date: Tue, 30 Aug 2016 17:17:29 -0700
Yeah, I considered that. There are 30 issues reported before Xcode stops building. It's not really practical, and I can readily imagine a scenario where it would be completely unreasonable to ask that.
Apple wants me to test Xcode 8 and ensure iOS 10 compatibility, but they sure make it hard to do so.
> On Aug 30, 2016, at 17:11 , Hunter Hillegas <email@hidden> wrote:
>
> Depending on how much of the API you’re using in Swift 2.3 that has changed, you can support both by using the compiler directives:
>
> i.e.
>
> #if swift(>=3.0)
> print("Running Swift 3.0 or later")
> #else
> print("Running Swift 2.2 or earlier")
> #endif
> You can do that for 2.2 and 2.3 for different code paths. Pretty messy if you have a lot of this stuff though.
>
>> On Aug 30, 2016, at 4:41 PM, Rick Mann <email@hidden> wrote:
>>
>> Is there any way to deal with this? I'm trying to fix bugs encountered in iOS 10, and I can't build directly to the device and debug without using Xcode 8.
>
--
Rick Mann
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden