Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define Appdelegate (AppDelegate *)[[UIApplication sharedApplication] delegate]
- AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
- appDelegate.variablename;
- #define Appdelegate ((AppDelegate *)[[UIApplication sharedApplication] delegate])
- // ^----------------------parenthesis--------------------------^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement