diff options
author | Vitaly Takmazov | 2019-03-20 01:50:48 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-03-20 01:50:48 +0300 |
commit | 1f3e08f107064fa429c6aa2a26702f6e63a791f0 (patch) | |
tree | 2653f4dc08edd1c69050ef6d9c800f5e12246e3a /Juick/AppDelegate.m | |
parent | 7a1aa6e48b37f4244fd5887ea7a1d15dd6fb7768 (diff) |
[AppDelegate shared]
Diffstat (limited to 'Juick/AppDelegate.m')
-rw-r--r-- | Juick/AppDelegate.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m index aa3a48b..5aff686 100644 --- a/Juick/AppDelegate.m +++ b/Juick/AppDelegate.m @@ -125,4 +125,8 @@ self.pushedUname = userInfo[@"uname"]; } ++(AppDelegate *) shared { + return (AppDelegate *)[UIApplication sharedApplication].delegate; +} + @end |