@@ -143,22 +143,43 @@ + (void)addTimerForTime:(NSTimeInterval)time handle:(LSTTimerChangeBlock)handle
143
143
+ (void )addTimerForTime : (NSTimeInterval )time
144
144
identifier : (NSString *)identifier
145
145
handle : (LSTTimerChangeBlock)handle {
146
- [self initTimerForForTime: time identifier: identifier ForIsDisk: NO unit: -1 handle: handle finish: nil pause :nil ];
146
+
147
+ [self initTimerForForTime: time
148
+ identifier: identifier
149
+ ForIsDisk: NO
150
+ unit: -1
151
+ handle: handle
152
+ finish: nil
153
+ pause :nil ];
147
154
}
148
155
/* * 添加定时器并开启计时 */
149
156
+ (void )addTimerForTime : (NSTimeInterval )time
150
157
identifier : (NSString *)identifier
151
158
handle : (LSTTimerChangeBlock)handle
152
159
finish : (LSTTimerFinishBlock)finishBlock
153
160
pause : (LSTTimerPauseBlock)pauseBlock {
154
- [self initTimerForForTime: time identifier: identifier ForIsDisk: NO unit: -1 handle: handle finish: finishBlock pause :pauseBlock];
161
+
162
+ [self initTimerForForTime: time
163
+ identifier: identifier
164
+ ForIsDisk: NO
165
+ unit: -1
166
+ handle: handle
167
+ finish: finishBlock
168
+ pause :pauseBlock];
155
169
}
156
170
157
171
/* * 添加定时器并开启计时 */
158
172
+ (void )addDiskTimerForTime : (NSTimeInterval )time
159
173
identifier : (NSString *)identifier
160
174
handle : (LSTTimerChangeBlock)handle {
161
- [self initTimerForForTime: time identifier: identifier ForIsDisk: YES unit: -1 handle: handle finish: nil pause :nil ];
175
+
176
+ [self initTimerForForTime: time
177
+ identifier: identifier
178
+ ForIsDisk: YES
179
+ unit: -1
180
+ handle: handle
181
+ finish: nil
182
+ pause :nil ];
162
183
}
163
184
164
185
/* * 添加定时器并开启计时 */
@@ -167,7 +188,14 @@ + (void)addDiskTimerForTime:(NSTimeInterval)time
167
188
handle : (LSTTimerChangeBlock)handle
168
189
finish : (LSTTimerFinishBlock)finishBlock
169
190
pause : (LSTTimerPauseBlock)pauseBlock {
170
- [self initTimerForForTime: time identifier: identifier ForIsDisk: YES unit: -1 handle: handle finish: finishBlock pause :pauseBlock];
191
+
192
+ [self initTimerForForTime: time
193
+ identifier: identifier
194
+ ForIsDisk: YES
195
+ unit: -1
196
+ handle: handle
197
+ finish: finishBlock
198
+ pause :pauseBlock];
171
199
}
172
200
173
201
@@ -179,7 +207,14 @@ + (void)addMinuteTimerForTime:(NSTimeInterval)time handle:(LSTTimerChangeBlock)h
179
207
+ (void )addMinuteTimerForTime : (NSTimeInterval )time
180
208
identifier : (NSString *)identifier
181
209
handle : (LSTTimerChangeBlock)handle {
182
- [self initTimerForForTime: time identifier: identifier ForIsDisk: NO unit: 1000 handle: handle finish: nil pause :nil ];
210
+
211
+ [self initTimerForForTime: time
212
+ identifier: identifier
213
+ ForIsDisk: NO
214
+ unit: 1000
215
+ handle: handle
216
+ finish: nil
217
+ pause :nil ];
183
218
}
184
219
185
220
/* * 添加定时器并开启计时 */
@@ -188,7 +223,14 @@ + (void)addMinuteTimerForTime:(NSTimeInterval)time
188
223
handle : (LSTTimerChangeBlock)handle
189
224
finish : (LSTTimerFinishBlock)finishBlock
190
225
pause : (LSTTimerPauseBlock)pauseBlock {
191
- [self initTimerForForTime: time identifier: identifier ForIsDisk: NO unit: 1000 handle: handle finish: finishBlock pause :pauseBlock];
226
+
227
+ [self initTimerForForTime: time
228
+ identifier: identifier
229
+ ForIsDisk: NO
230
+ unit: 1000
231
+ handle: handle
232
+ finish: finishBlock
233
+ pause :pauseBlock];
192
234
}
193
235
194
236
/* * 添加定时器并开启计时 */
@@ -197,7 +239,14 @@ + (void)addDiskMinuteTimerForTime:(NSTimeInterval)time
197
239
handle : (LSTTimerChangeBlock)handle
198
240
finish : (LSTTimerFinishBlock)finishBlock
199
241
pause : (LSTTimerPauseBlock)pauseBlock {
200
- [self initTimerForForTime: time identifier: identifier ForIsDisk: YES unit: 1000 handle: handle finish: finishBlock pause :pauseBlock];
242
+
243
+ [self initTimerForForTime: time
244
+ identifier: identifier
245
+ ForIsDisk: YES
246
+ unit: 1000
247
+ handle: handle
248
+ finish: finishBlock
249
+ pause :pauseBlock];
201
250
}
202
251
203
252
// 总初始化入口
0 commit comments