|
25 | 25 | #import "SPLStudyplusRecordAmount.h" |
26 | 26 | #import "SPLStopwatch.h" |
27 | 27 |
|
| 28 | +NS_ASSUME_NONNULL_BEGIN |
| 29 | + |
28 | 30 | /** |
29 | 31 | The class for using Studyplus.<br> |
30 | 32 | For example, you can authenticate in Studyplus account, de-authentication, and post study record. |
|
67 | 69 | /** |
68 | 70 | @see SPLStudyplusDelegate protocol |
69 | 71 | */ |
70 | | -@property (nonatomic, weak) id<SPLStudyplusDelegate> delegate; |
| 72 | +@property (nonatomic, weak, nullable) id<SPLStudyplusDelegate> delegate; |
71 | 73 |
|
72 | 74 | /** |
73 | 75 | When set to YES, if Studyplus is not installed, AppStore application starts when auth/login methods are called. Default value is YES.<br> |
|
79 | 81 | Username of Studyplus account. It is set when the auth or login is successful. Default value is nil.<br> |
80 | 82 | Studyplusアカウントのユーザ名です。login または authが成功したとき設定されます。設定されるまではnilです。 |
81 | 83 | */ |
82 | | -@property (nonatomic, copy, readonly) NSString *username; |
| 84 | +@property (nonatomic, copy, readonly, nullable) NSString *username; |
83 | 85 |
|
84 | 86 | /** |
85 | 87 | Access token of Studyplus API. It is set when the auth or login is successful. Default value is nil.<br> |
86 | 88 | StudyplusAPIのアクセストークンです。login または authが成功したとき設定されます。設定されるまではnilです。 |
87 | 89 | */ |
88 | | -@property (nonatomic, copy, readonly) NSString *accessToken; |
| 90 | +@property (nonatomic, copy, readonly, nullable) NSString *accessToken; |
89 | 91 |
|
90 | 92 | /** |
91 | 93 | @see SPLStopwatch class |
92 | 94 | */ |
93 | | -@property (nonatomic, readonly) SPLStopwatch *stopwatch; |
| 95 | +@property (nonatomic, readonly, nullable) SPLStopwatch *stopwatch; |
94 | 96 |
|
95 | 97 | /** |
96 | 98 | The convenience constructor of SPLStudyplus class. |
|
182 | 184 | */ |
183 | 185 | - (BOOL)openURL:(NSURL*)url; |
184 | 186 |
|
| 187 | +NS_ASSUME_NONNULL_END |
| 188 | + |
185 | 189 | @end |
0 commit comments