Dose swift support static library ?

hi ! ^ ^


my questions are those four ~


1. Can I write static library by using swift ??



2. Can I use a static library that is coded by swift, only in 100%-swift-coded project ??



3. Can I use a static library that is coded by objective-c, in 100%-swift-coded project ??



4. It seems like from xcode 7, static library is only coded by objective-c(no choice to swift),.... Then I code static library with objective-c,

Dose it can be used full swift based project (the project's target SDK is iOS 8) ?


Thanks ~😊

Answered by Dave in 95352022

It's gotta be possible... We haven't had access to the source-code of Apple's standard library until quite recently.

Any update on this question?

Is there any way to create a library or framework written in Swift that doesn't expose source?

not yet 😐

Accepted Answer

It's gotta be possible... We haven't had access to the source-code of Apple's standard library until quite recently.

Dose swift support static library ?
 
 
Q