I have this class where I have two static variables which are closures. When project launch I assign the function (which basically does the presentation of another controller).