Skip to content

Commit

Permalink
av services
Browse files Browse the repository at this point in the history
  • Loading branch information
siamakrostami committed Mar 28, 2020
1 parent 0261983 commit 781ed70
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vaslAppSdk/Classes/Module/Services.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,7 @@ protocol Services {

func KalingaServices() -> KalingaServiceV1Impl!

func ArmanVarzeshServices() -> AvServiceImpl!


}
9 changes: 9 additions & 0 deletions vaslAppSdk/Classes/VaslSdk.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import UIKit
public class VaslSdk : Services {







Expand Down Expand Up @@ -352,5 +354,12 @@ public class VaslSdk : Services {
}
return VaslSdk.KalingaServices
}
private static var ArmanVarzeshServices : AvServiceImpl!
public func ArmanVarzeshServices() -> AvServiceImpl! {
if VaslSdk.ArmanVarzeshServices == nil{
VaslSdk.ArmanVarzeshServices = AvServiceImpl.init()
}
return VaslSdk.ArmanVarzeshServices
}

}

0 comments on commit 781ed70

Please sign in to comment.