UIView

From iPhone Development Wiki
Revision as of 17:47, 10 October 2009 by KennyTM~ (talk | contribs) (Created page with '{{occlass|library=UIKit.framework}} UIView is the root class of all UI elements. == Undocumented methods == === -recursiveDescription === Returns the description of the v…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


UIView is the root class of all UI elements.

Undocumented methods

-recursiveDescription

Returns the description of the view and its subviews. Example output:

<UIWebView: 0x4116bb0; frame = (0 100; 320 230); layer = <CALayer: 0x4116c20>>
   <UIScroller: 0x411e110; frame = (0 0; 320 230); clipsToBounds = YES; autoresize = H; layer = <CALayer: 0x411e4d0>>
       <UIImageView: 0x411f460; frame = (0 0; 54 54); transform = [-1, 0, -0, -1, 0, 0]; alpha = 0; opaque = NO; userInteractionEnabled = NO; layer = <CALayer: 0x411f490>>
       <UIWebDocumentView: 0x4812c00; frame = (0 0; 320 230); layer = <UIWebLayer: 0x41171c0>>

-scriptingInfoWithChildren

This function returns an NSDictionary with contains some information e.g. geometry, class name, etc.

References