Commit e19f1ed
Added a guard check to request the shared UIApplication instance usin… (#212)
Added a guard check to request the shared UIApplication instance using the "key for value" method on UIApplication to bypass the compiler warnings allowing OAuth2 library to be used within a library that is used as a private framework for an iOS app that has app extensions. This performs an optionality check on UIApplication, so that if its available to be called, it can be called, if not, it throws the appropriate error. Fixes #133.1 parent 863d3a2 commit e19f1ed
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
58 | 67 | | |
59 | 68 | | |
60 | 69 | | |
| |||
0 commit comments