FLEX regular expression

Logging,Display Images,Application Frame,Web View,Display the Network Activity Status Indicator,Animation,NSString and int,Regular Expressions,Draggable items,Vibration and Sound,Threading,Reading crash logs,Testing,Access properties/methods in other cl..

Logging In Xcode, click Run > Console to see NSLog statements. NSLog(@”log: %@ “, myString); NSLog(@”log: %f “, myFloat); NSLog(@”log: %i “, myInt); Display Images Display an image anywhere on the screen, without using UI Builder. You can use this for other types of views as well. CGRect myImageRect = CGRectMake(0.0f, 0.0f, 320.0f, 109.0f); UIImageView *myImage = [[UIImageView alloc] initWithFrame:myImageRect]; [myImage setImage:[UIImage imageNamed:@”myImage.png”]]; myImage.opaque = YES; // explicitly opaque for performance [self.view addSubview:myImage]; [myImage release]; Application Frame Use “bounds” instead of “applicationFrame” — the latter will introduce a 20 pixel empty status bar (unless you want that..) Web view A basic UIWebView. CGRect webFrame = CGRectMake(0.0, 0.0, 320.0, 460.0); UIWebView *webView = [[UIWebView alloc] initWithFrame:webFrame]; [webView setBackgroundColor:[UIColor whiteColor]]; NSString *urlAddress…