So does that mean then that Swift 2.3 and Swift 3.0 can interoperate?

E.g.

iOS Target ‘Foo’, imports a custom Framework ‘Bar’

Foo is Swift 3.0
Bar is Swift 2.3

From: zh ao <[email protected]>
Date: Monday, 27 June 2016 at 14:34
To: Ted Bradley <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [swift-users] Can Swift 2.3 frameworks be used with a Swift 3.0 
app?

You need to wait until they are promised to work with 2.3 or 3.0. If you can 
get the source code, you can use migration tool and compile the framework 
yourself.

Zhaoxin

On Mon, Jun 27, 2016 at 6:29 PM, Ted Bradley via swift-users 
<[email protected]<mailto:[email protected]>> wrote:
Ah, I wasn’t being clear :)

I meant user created frameworks. Such as you would get manually or via Carthage 
/ Cocoapods. Could those be migrated to Swift 2.3, whilst your main target is 
migrated to Swift 3.0?

As a temporary stop-gap of course.

From: zh ao <[email protected]<mailto:[email protected]>>
Date: Monday, 27 June 2016 at 11:27
To: Ted Bradley <[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [swift-users] Can Swift 2.3 frameworks be used with a Swift 3.0 
app?

I don't know which frameworks you talking about. The Foundation framework is 
definitely different. But Cocoa and Cocoa Touch should be the same.


Zhaoxin

On Mon, Jun 27, 2016 at 6:04 PM, Ted Bradley via swift-users 
<[email protected]<mailto:[email protected]>> wrote:
Can Swift 2.3 frameworks be used with a Swift 3.0 target app?

From what I’m reading in the documentation, it seems like everything needs to 
be either all Swift 2.3 or all Swift 3.0 – no mix and matching.

Unfortunately, the beta has been pretty unstable on my system so I’ve not 
managed to get enough time to test this out yet. Appreciate hearing from anyone 
who knows definitively or has tried this.


_______________________________________________
swift-users mailing list
[email protected]<mailto:[email protected]>
https://lists.swift.org/mailman/listinfo/swift-users


_______________________________________________
swift-users mailing list
[email protected]<mailto:[email protected]>
https://lists.swift.org/mailman/listinfo/swift-users

_______________________________________________
swift-users mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to