Viewing the SubscribeController View Controller

A view controller functions as the root view screen for the SUP101 mobile application.
When you create the user interface, you assign a target action to a control object—in this example a, Subscribe button that sends a message (the action) another object (the target) in response to a user event, for example, a touch on the button. The view controller manages and configures the view.
In Xcode, you can create the view controller by creating a new file using the UIViewController subclass. Select With XIB for user interface. Xcode creates the corresponding .h, .m, and .xib files.
  1. In the SUP101 Xcode project, click SubscribeController.m to view the logic for the view controller.
  2. Click SubscribeController.h to view the header file.

Comments

Popular posts from this blog

How to draw an overlay on a SurfaceView used by Camera on Android?

Create EditText with dropdown in android

Android TCP Connection Chat application