@IBOutlet weak var menuButton: UIButton!
@IBOutlet weak var clubButton: UIButton!
@IBOutlet weak var announcemnetsButton: UIButton!
@IBOutlet weak var eventButton: UIButton!
let transition = CircularTransition()
override func viewDidLoad() {
super.viewDidLoad()
menuButton.layer.cornerRadius = menuButton.frame.size.width / 2
clubButton.layer.cornerRadius = menuButton.frame.size.width / 2
announcemnetsButton.layer.cornerRadius = menuButton.frame.size.width / 2
eventButton.layer.cornerRadius = menuButton.frame.size.width / 2
// Do any additional setup after loading the view.
}
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
let secondVC = segue.destination as! NewViewController
secondVC.transitioningDelegate = self
secondVC.modalPresentationStyle = .custom
let thirdVC = segue.destination as! ClubsViewController
thirdVC.transitioningDelegate = self
thirdVC.modalPresentationStyle = .custom
let fourthVC = segue.destination as! AnnouncementsViewController
fourthVC.transitioningDelegate = self
fourthVC.modalPresentationStyle = .custom
let fifthVC = segue.destination as! EventsViewController
fifthVC.transitioningDelegate = self
fifthVC.modalPresentationStyle = .custom
}
I am running this code but I keep getting the error, what am I doing wrong? I believe everything is linked correctly, but I keep getting the SIGABRT error.