Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/extensions/Variables/includes/ExtVariables.php on line 198
UIView: Difference between revisions - iPhone Development Wiki

UIView: Difference between revisions

From iPhone Development Wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{occlass|library=UIKit.framework}}
[[UIView]] is the root class of all UI elements.  
[[UIView]] is the root class of all UI elements.  


Line 30: Line 28:
* Official documentation: http://developer.apple.com/iPhone/library/documentation/UIKit/Reference/UIView_Class/UIView/UIView.html
* Official documentation: http://developer.apple.com/iPhone/library/documentation/UIKit/Reference/UIView_Class/UIView/UIView.html
* Additional header: http://github.com/kennytm/iphone-private-frameworks/blob/master/UIKit/UIView2.h
* Additional header: http://github.com/kennytm/iphone-private-frameworks/blob/master/UIKit/UIView2.h
{{occlass|library=UIKit.framework|navbox=on}}

Revision as of 17:38, 12 October 2009

UIView is the root class of all UI elements.

Undocumented methods

recursiveDescription

Signature -(NSString*)recursiveDescription;
Available in 3.0 – 3.1

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

Signature -(NSDictionary*)scriptingInfoWithChildren;
Available in 2.0 – 3.1

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

References