• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/7

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

7 Cards in this Set

  • Front
  • Back
frame
The frame of an UIView is the rectangle, expressed as a location (x,y) and size (width,height) relative to the superview it is contained within.
bounds
The bounds of an UIView is the rectangle, expressed as a location (x,y) and size (width,height) relative to its own coordinate system (0,0).
Methods to manipulate the view hierarchy manually?
- (void)insertSubview:(UIView *)view atIndex:(int)index;
- (void)insertSubview:(UIView *)view belowSubview:(UIView *)view;
- (void)insertSubview:(UIView *)view aboveSubview:(UIView *)view;
- (void)exchangeSubviewAtIndex:(int)index
withSubviewAtIndex:(int)otherIndex;
Add/remove views in IB or using UIView methods?
- (void)addSubview:(UIView *)view;
- (void)removeFromSuperview;
Name three View-related Structures?
CGPoint -location in space: { x , y }
CGSize - dimensions: { width , height }
CGRect - location and dimension: { origin , size }
What are two ways a view's location and size is expressed?
-Frame is in superview’s coordinate system
-Bounds is in local coordinate system
What method do you override for custom drawing?
For custom drawing, you override:
- (void)drawRect:(CGRect)rect;