Some other very Useful

UITabBarController
NSMutableArray *tabBarViewControllerArray = [[NSMutableArray alloc] init] ;    
 tabBarController = [[UITabBarController alloc] init];
 UINavigationController *navigationController = [[[UINavigationController alloc] initWithRootViewController:anothercontroller] autorelease];
    [tabBarViewControllerArray addObject:navigationController];
  navigationController.navigationBar.tintColor = [UIColor blackColor];
  //navigationController.tabBarItem.title = @"Home";
 UITabBarItem *item1 = [[UITabBarItem alloc] initWithTitle:@"Home" image:[UIImage imageNamed:@"Home.png"] tag:0];

[tabBarController setViewControllers:tabBarViewControllerArray];       

UITableViewControllerUITapGestureRecognizer

UITextField

Creating a text field

CGRect textFieldFrame = CGRectMake(0.0, 0.0, 100.0, 30.0);
UITextField *textField = [[UITextField alloc] initWithFrame:textFieldFrame];
[textField setBorderStyle:UITextFieldBorderStyleBezel];
[textField setTextColor:[UIColor blackColor]];
[textField setFont:[UIFont systemFontOfSize:20]];
[textField setDelegate:self];
[textField setPlaceholder:@""];
[textField setBackgroundColor:[UIColor whiteColor]];
textField.keyboardType = UIKeyboardTypeDefault;

UITextInputStringTokenizer
UITextPosition
UITextRange

UITextView

Creating a text view

CGRect textFieldFrame = CGRectMake(0.0, 0.0, 200.0, 200.0);
UITextView *textView = [[UITextView alloc] initWithFrame:textFieldFrame];
[textView setTextColor:[UIColor blackColor]];
[textView setFont:[UIFont systemFontOfSize:20]];
[textView setDelegate:self];
[textView setBackgroundColor:[UIColor whiteColor]];
textView.keyboardType = UIKeyboardTypeDefault;


UIToolbar
UITouch
UIVideoEditorController
UIView
UIViewController

UIWebView


Creating a web view

CGRect webFrame = CGRectMake(0.0, 0.0, 200.0, 200.0);
UIWebView *webView = [[UIWebView alloc] initWithFrame:webFrame];
[webView setBackgroundColor:[UIColor whiteColor]];


UIWindow

Comments