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

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -