I wanted to see what the best practice(s) of accessing UIViewController methods from GameScene is/are. Right now I have been using NSNotificationCenter, but I don't want to use this due to specific functionality that I am trying to achieve.
Also, if there are not any other ways of gaining access to UIViewController through GameScene, then really what I am wondering is a method of being able to present an UIAlertController within the GameScene without UIViewController.
I would just create a global variable to the UIViewController, but I heard this is bad practice.
Thanks!