Run Function on Scene Load
In my ViewController.swift I have a function that checks whether or not it is the user's first time opening the app, and will show different things depending on that. I want to call this function when the first scene in Main.storyboard shows up. How can I do this? I am running the latest version of Xcode.
Posted Jun 3, 2017, 4:45 PM UTC
18