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

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

c++ - Using Gtest how return different values in ON_CALL? -

asp.net core mvc - How important is the global.json and src folder? -