iOS Classes Flashcards

Learn Objective-C Classes

1
Q

UIScreen

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

UIWindow (Canvas)

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

UIViewController (Paintbrush)

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

UIView (Paint)

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

UIColor

A

represents color and sometimes opacity (alpha value). Inherits from NSObject.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

UIResponder

A

s defines an interface for objects that respond to and handle events. It is the superclass of UIApplication, UIView

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

UIApplication

A

provides a centralized point of control and coordination for applications running on iOS. Inherits from UIResponder, NSObject.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

UIApplicationDelegate

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

UILabel

A

Is read-only text view that does static text that can be stylized with subclasses. Inherits from UIVIew, UIResponder.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

UIControl

A

Base class for control objects which convey user intent. Inherits UIView, UIResponder

How well did you know this?
1
Not at all
2
3
4
5
Perfectly