Skip to content

Shital05Jadav/SiaraShield-iOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SiaraShield-iOS

It's a Swift Library to support Verification in iOS

Watch Video on :

YouTube_Logo_2017 svg(https://youtu.be/3KeXrZqccAk)

Installation

SiaraShield-iOS is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'SiaraShield-iOS'

Manually

Drag and Drop SiaraShield-iOS Directory into your XCode Project Directory.

Basic usage ✨

Simply add UIView to Your ViewController And Connect @IBOutlet - SlidingView Class and do below code

siara1.mov

Add your Public Key, Private Key and Request URL as per above video. Get your public & private key from mycybersiara.com

import SiaraShield_iOS

 @IBOutlet weak var slideview: SlidingView!

 //Comolsury to call this method
 //Add the view controller to method getvalue
 slideview.getvalue(vc: self)
 slideview.delegate = self

## Add SlidingDelegate method and do your code 
once token verified on Submit Button Clicked delegate method called

extension ViewController : SlidingViewDelegate {
    func verifiedtoken() {
      //  < # Do your code here >
    }
}

## License

SiaraShield-iOS is available under the MIT license. See the LICENSE file for more info.