Reply To: Placing code in app delegate instead of view controller

Home Forums OpenEars Placing code in app delegate instead of view controller Reply To: Placing code in app delegate instead of view controller

#11620
Halle Winkler
Politepix

Sure, if you like, or for a more standard architecture you can also put it in a root-level view controller and send commands back to it via delegate callbacks from the child controllers. The only thing I don’t support is putting it in a singleton because that usually goes badly due to all of the multithreading.