ios - Import own swift framework -



ios - Import own swift framework -

i created swift framework , want import in application.

i did import biometricaccesscontrol in viewcontroller xcode not recognizes classes.

how can solved it?

thanks

maybe problem of access command policy. default, type(class,enum,struct) , member(property,subscript,method)'s access command level internal,which visible within framework,if want expose it(namely,api) other modules, seek add together public modifier class or member.for example:

public class myswiftcomponent { public var publicint:int? private var privateint:int? internal var internalint:int? }

totally, there 3 access level : public ,internal , private (internal default)

ios swift

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -