kiokoo / YaleMobile

YaleMobile, the first and best iOS application for Yale University students
https://itunes.apple.com/us/app/yale-mobile/id497588523?mt=8
MIT License
16 stars 7 forks source link

Handle all warnings and console messages #101

Open danqing opened 10 years ago

danqing commented 10 years ago

Before this can go live, need to clear all warnings and any error messages printed to the console.

hengchu commented 10 years ago

I (seemed to have) removed all warnings except this one

2014-09-26 15:54:48.765 YaleMobile[31033:1027906] Presenting view controllers on detached view controllers is discouraged <YMMainViewController: 0x7fc56163d400>.

And after googling/SOing around, this seems to be the most probable cause:

But I wasn't able to fix the problem with setting up segues on the storyboard and letting SWRevealViewController handle the pushing/presenting.