Advertisement
Guest User

Untitled

a guest
Aug 30th, 2015
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #define Appdelegate (AppDelegate *)[[UIApplication sharedApplication] delegate]
  2.  
  3. AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
  4. appDelegate.variablename;
  5.  
  6. #define Appdelegate ((AppDelegate *)[[UIApplication sharedApplication] delegate])
  7. // ^----------------------parenthesis--------------------------^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement