Released with iOS 7, Touch ID allows iPhone 5S and iPad Air users to authenticate with their fingerprint, until now only for AppStore purchases and device unlocking. With iOS 8, Apple released a public API that allows a developer to implement… Lire la suite
First of all, start by creating a new Swift file and name it something like HLRequestDelegate ; that will define your protocol.
1 2 3 4 5 |
protocol HLRequestDelegate { func doNothing(); func request(request: HLRequest, didSucceedWithData: NSData); } |
To call your delegate, you may now create a new class instance and call methods defined in previous Swift file…. Lire la suite
Recent Comments