Skip to content

Instantly share code, notes, and snippets.

@mayooresan
Created July 18, 2017 04:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mayooresan/40fa22104e22651b4b5fcd2e8dfbdf6c to your computer and use it in GitHub Desktop.
Save mayooresan/40fa22104e22651b4b5fcd2e8dfbdf6c to your computer and use it in GitHub Desktop.
import UIKit
class HomeBaseVC: UIViewController, SpyDelegate {
override func viewDidLoad() {
super.viewDidLoad()
}
func didFindWeaponOfMassDestruction(found: Bool) {
// Handle the received data here
print("Data received")
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destinationViewController.
// Pass the selected object to the new view controller.
}
*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment