Viewing the SubscribeController View Controller

A view controller functions as the root view screen for the SUP101 mobile application.

The SubscribeController view controller automatically shows connection status and provides two buttons for action after the connection is made: one to synchronize data after connection to the device; and one to change the password. The Synchronize button will trigger data synchronization, and trigger the MenuListController view when synchronization is complete. The Change Password button will allow the user to change the password for connection to Sybase Unwired Platform and trigger the PasswordPinViewController 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.
Related tasks
Creating the PasswordPinViewController
Creating the MenuListController
Creating the CustomerListController
Adding the DetailController and Configuring the View