Advertisement
Guest User

Untitled

a guest
Aug 7th, 2014
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #import "ViewController.h"
  2.  
  3. @interface ViewController ()
  4. @end
  5.  
  6. @implementation ViewController
  7.  
  8.  
  9.  
  10.  
  11.  
  12. - (void)viewDidLoad
  13. {
  14.     [super viewDidLoad];
  15.     // Do any additional setup after loading the view, typically from a nib.
  16.  
  17.     [self metoda];  
  18. }
  19.  
  20. -(void) metoda;
  21.  
  22.  
  23.  
  24.  
  25. {
  26.    
  27.     NSInteger warunek =5;
  28.    
  29.     if (warunek ==3) {
  30.         NSLog(@"funkcja wykonala sie");
  31.        
  32.     } else
  33.          NSLog(@"funkcja nie wykonala sie");
  34.    
  35.     }
  36.  
  37. - (void)didReceiveMemoryWarning
  38. {
  39.     [super didReceiveMemoryWarning];
  40.     // Release any cached data, images, etc that aren't in use.
  41. }
  42.  
  43. @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement