Top "Viewcontroller" questions

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

Adding swift file to new view controller in xCode? (easy)

I'm just starting out in xCode 6, and I can't seem to figure out how to add a new swift-file to …

swift xcode6 viewcontroller
Dismiss more than one view controller simultaneously

I'm making a game using SpriteKit. I have 3 viewControllers: selecting level vc, game vc, and win vc. After the game …

ios swift viewcontroller dismiss
Swift: How to access in AppDelegate variable from the View controller?

I would like to write in the text or csv (prefer) file the variable from the view controller. Indeed I …

swift viewcontroller appdelegate
Application tried to present modally an active controller ios

I was trying to set the ViewController with a parent view controller before it shows show that it can provide …

ios objective-c segue modalviewcontroller viewcontroller
How to present a second ViewController & dismiss the first

using the following code in the parent ViewController, I want to present a second view ontop of the first, then …

iphone viewcontroller
dismissViewController: not working

I have a view controller called vc0 which is presented like this: [self presentViewController: vc1 animated: YES completion: nil]; And …

iphone objective-c ios xcode viewcontroller
Getting appdelegate value from viewcontroller

In Appdelegate.h I imported the playerviewcontroller in both Appdelegate.h and Appdelegate.m files. @class PlayerViewController; @property(nonatomic)float …

ios objective-c viewcontroller appdelegate
Difference between presentModalViewController and presentViewController?

In iOS 5 SDK, there're two methods of UIViewController, presentModalViewController:animated: and presentViewController:animated:completion:. What's the difference between these two …

iphone ios viewcontroller
iOS - Toolbar not showing

Using the storyboard I created a new screen for a second View controller and added a Toolbar at the bottom. …

ios storyboard toolbar viewcontroller segue
How to create a confirmation Pop Up when pushing Back button in iOS?

I want to add a pop up when someone pushes the "Back" button of my iOS App, to ask the …

ios objective-c popup viewcontroller