Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MainViewController: UIViewController, PopUpDelegate {
- override func viewDidLoad() {
- super.viewDidLoad()
- }
- // MARK: Delegate Methods
- func buttonAWasPressed(childViewController: PopUpViewController) {
- print("Button A was pressed")
- }
- func buttonBWasPressed(childViewController: PopUpViewController) {
- print("Button B was pressed")
- }
- }
Add Comment
Please, Sign In to add comment