objective c - Is there any drawback in creating a framework with swift -


can framework created swift support objective-c projects?

yes, framework written in swift can imported , used in objective-c projects.

however it's more convenient write frameworks in objective-c need 1 version. people using both swift , objective-c can import framework without problems.

if write framework in swift , wants install project written in incompatible swift version - won't work!

you need set branches , have project framework compiled under many version of swift incompatible. using swift 1.0 can't rung swift 1.2 or 2.0, using 2.0 can't use 1.2 or 1.0.


Comments

Popular posts from this blog

javascript - How to process users in one specific order using map o each function? -

java - Two interface have same method name with different return type -

javascript - Linking from page A to a specific iframe on page B -