Skip to content

Instantly share code, notes, and snippets.

@mayooresan
Created July 18, 2017 04:49
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/20973a570ca4e3eaf9ff85264086e8ce to your computer and use it in GitHub Desktop.
Save mayooresan/20973a570ca4e3eaf9ff85264086e8ce to your computer and use it in GitHub Desktop.
import UIKit
protocol SpyDelegate {
func didFindWeaponOfMassDestruction(found : Bool)
}
class EnemyBaseVC: UIViewController {
let hasWeaponOfMassDescrtruction : Bool = true
var delegate : SpyDelegate?
override func viewDidLoad() {
super.viewDidLoad()
}
@IBAction func sendingMessage(_ sender: Any) {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment