1 / 6

How to use IF

How to use IF. If(Conditon){ statements }. Some important codes. if ([text1.text isEqualToString:@"abc"]&&[text2.text isEqualToString:@"123"]) { *first=[[firstViewController alloc]initWithNibName:@"firstViewController" bundle:nil]; [self.view addSubview: first.view]; }.

Download Presentation

How to use IF

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to use IF If(Conditon){ statements }

  2. Some important codes if ([text1.text isEqualToString:@"abc"]&&[text2.text isEqualToString:@"123"]) { *first=[[firstViewController alloc]initWithNibName:@"firstViewController" bundle:nil]; [self.view addSubview: first.view]; }

  3. Some important codes else{ *second=[[secondViewController alloc]initWithNibName:@"secondViewController" bundle:nil]; [self.view addSubview:second.view]; }

  4. How to use UIAlterView 1 What’s the AlterView? 2 Syntax format: UIAlterView *object name=[[UIAlterView alloc]initWithTitle:@”NSString” message:@”NSString” delegate:nil cancelBttonTitle:@”NSString” otherButtonTitles:nil];

  5. How to use UIAlterView 3 how to show the AlterView [object name show];

  6. Any question?

More Related