Top "Viewcontroller" questions

viewcontroller is a design pattern which is a hybrid of the view and controller components of the MVC architecture

Switching Views Programmatically in Swift

I am trying to switch to the second view by pressing the "feeling lucky" button. When I try out my …

xcode swift viewcontroller
How to Sign Out of Google After Being Authenticated

So my app has the option to sign in with Google. Upon clicking the button that Google provides, a web …

ios swift authentication firebase viewcontroller
How to access ObjectAtIndex in tabBarController with Swift?

i used to say in obj-c [self.tabBarController.viewControllers objectAtIndex:1]; but now in swift no ObjectAtIndex any more self.tabBarController.…

ios swift uitabbarcontroller viewcontroller
Passing data from view controller to tab bar controller in iOS

I'm developing an iOS app and now I'm at a loss. I'm trying to pass data from the first View …

ios objective-c storyboard viewcontroller tabbarcontroller
Xcode Storyboard and xib connection

I have one story board project with many view controllers and i created one class named "connecter.h,connector.m " …

ios storyboard xib viewcontroller xcode4.6
force landscape ios 7

I've tried to following methods to force landscape on one my views: - (NSUInteger)supportedInterfaceOrientations { return UIInterfaceOrientationMaskLandscape; } - (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation { …

ios ios7 landscape viewcontroller
Presenting view controllers on detached view controllers

I have sideViewController with a button and Action, which present new view controller by clicking this button. class sideViewController: UIViewController { @…

ios swift viewcontroller
Understanding View Controller Nesting in iOS

Ive been tearing my hair out over the last couple of days trying to understand this one seemingly basic concept …

ios cocoa interface nested viewcontroller
Swift passing calculated data back to previous view controller

I am creating my first simple budgeting app. Basically, I take a few user inputs like monthly income & savings …

ios swift segue viewcontroller
Unable to select custom class for ViewControllers in Xcode Storyboard

I just upgraded Xcode to 5.0. I'm still fairly new to cocoa so I hope I'm overlooking something basic. Basically I …

cocoa-touch viewcontroller