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
Post a Comment