I am trying to call a function declared in ViewController class from DetailViewController class.
When trying to debug the \'Extra Argument in call\" error pops up.<
In my case calling non-static function from static function caused this error. Changing function to static fixed the error.