Sunday, July 12, 2009

iPhone UIView

Some of this is directly from the Stanford series

UIView is part of UIKit Framework which is part of Cocoa.

It represents a rectangular part of the screen. With it you can:
  • draw into the rectangular area
  • process events (since it inherits from UIResponder)
View Hierarchies:
  • every view has ONE superview (assuming the view has been put into another view)
  • every view has ZERO or MORE subviews
UIWindow is a subclass of UIView

NOTE: there is only one UIWindow for an iPhone App


No comments:

Post a Comment