How can I make a good use of didFinishLaunchingWithOptions in Appdelegate (xcode,swift) : I want to extract some data from the server or database, now im confusing if i have to put the extracting code in didFinishLaunchingWithOptions() function or put the code in viewdidload() function in the first viewcontroller. what's the execution efficiency of both methods? Thanks.