iOS Classes Flashcards
Learn Objective-C Classes
UIScreen
contains the bounding rectangle of the device’s entire screen. When setting up your application’s user interface, you should use the properties of this object to get the recommended frame rectangles for your application’s window. Inherits from NSObject.
UIWindow (Canvas)
defines an object known as a window that manages and coordinates the views an app displays on a device screen. Inherits from UIView, UIResponder, NSObject.
UIViewController (Paintbrush)
provides the fundamental view-management model for all iOS apps. You rarely instantiate UIViewController objects directly. Instead, you instantiate subclasses of the UIViewController class based on the specific task each subclass performs.
UIView (Paint)
defines a rectangular area on the screen and the interfaces for managing the content in that area. At runtime, a view object handles the rendering of any content in its area and also handles any interactions with that content.
UIKit Subclasses include UILabel object draws a text string and a UIImageView object draws an image. Inherits from UIResponder, NSObject.
UIColor
represents color and sometimes opacity (alpha value). Inherits from NSObject.
UIResponder
s defines an interface for objects that respond to and handle events. It is the superclass of UIApplication, UIView
UIApplication
provides a centralized point of control and coordination for applications running on iOS. Inherits from UIResponder, NSObject.
UIApplicationDelegate
protocol declares methods that are implemented by the delegate of the singleton UIApplication object. These methods provide you with information about key events in an application’s execution such as when it finished launching, when it is about to be terminated, when memory is low, and when important changes occur.
UILabel
Is read-only text view that does static text that can be stylized with subclasses. Inherits from UIVIew, UIResponder.
UIControl
Base class for control objects which convey user intent. Inherits UIView, UIResponder