Skip to content

Commit 3a00e68

Browse files
committed
Merge pull request jdg#95 from yosit/master
make the interface conform to the GCC LLVM compiler. atomic keyword is assumed to be the default for property.
2 parents f1a30d2 + dd23be8 commit 3a00e68

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

MBProgressHUD.h

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ typedef void (^MBProgressHUDCompletionBlock)();
270270
/**
271271
* A block that gets called after the HUD was completely hiden.
272272
*/
273-
@property (atomic, copy) MBProgressHUDCompletionBlock completionBlock;
273+
@property (copy) MBProgressHUDCompletionBlock completionBlock;
274274

275275
#endif
276276

@@ -279,73 +279,73 @@ typedef void (^MBProgressHUDCompletionBlock)();
279279
*
280280
* @see MBProgressHUDMode
281281
*/
282-
@property (atomic, assign) MBProgressHUDMode mode;
282+
@property (assign) MBProgressHUDMode mode;
283283

284284
/**
285285
* The animation type that should be used when the HUD is shown and hidden.
286286
*
287287
* @see MBProgressHUDAnimation
288288
*/
289-
@property (atomic, assign) MBProgressHUDAnimation animationType;
289+
@property (assign) MBProgressHUDAnimation animationType;
290290

291291
/**
292292
* The UIView (e.g., a UIImageView) to be shown when the HUD is in MBProgressHUDModeCustomView.
293293
* For best results use a 37 by 37 pixel view (so the bounds match the built in indicator bounds).
294294
*/
295-
@property (atomic, MB_STRONG) UIView *customView;
295+
@property (MB_STRONG) UIView *customView;
296296

297297
/**
298298
* The HUD delegate object.
299299
*
300300
* @see MBProgressHUDDelegate
301301
*/
302-
@property (atomic, MB_WEAK) id<MBProgressHUDDelegate> delegate;
302+
@property (MB_WEAK) id<MBProgressHUDDelegate> delegate;
303303

304304
/**
305305
* An optional short message to be displayed below the activity indicator. The HUD is automatically resized to fit
306306
* the entire text. If the text is too long it will get clipped by displaying "..." at the end. If left unchanged or
307307
* set to @"", then no message is displayed.
308308
*/
309-
@property (atomic, copy) NSString *labelText;
309+
@property (copy) NSString *labelText;
310310

311311
/**
312312
* An optional details message displayed below the labelText message. This message is displayed only if the labelText
313313
* property is also set and is different from an empty string (@""). The details text can span multiple lines.
314314
*/
315-
@property (atomic, copy) NSString *detailsLabelText;
315+
@property (copy) NSString *detailsLabelText;
316316

317317
/**
318318
* The opacity of the HUD window. Defaults to 0.8 (80% opacity).
319319
*/
320-
@property (atomic, assign) float opacity;
320+
@property (assign) float opacity;
321321

322322
/**
323323
* The color of the HUD window. Defaults to black. If this property is set, color is set using
324324
* this UIColor and the opacity property is not used. using retain because performing copy on
325325
* UIColor base colors (like [UIColor greenColor]) cause problems with the copyZone.
326326
*/
327-
@property (atomic, MB_STRONG) UIColor *color;
327+
@property (MB_STRONG) UIColor *color;
328328

329329
/**
330330
* The x-axis offset of the HUD relative to the centre of the superview.
331331
*/
332-
@property (atomic, assign) float xOffset;
332+
@property (assign) float xOffset;
333333

334334
/**
335335
* The y-ayis offset of the HUD relative to the centre of the superview.
336336
*/
337-
@property (atomic, assign) float yOffset;
337+
@property (assign) float yOffset;
338338

339339
/**
340340
* The amounth of space between the HUD edge and the HUD elements (labels, indicators or custom views).
341341
* Defaults to 20.0
342342
*/
343-
@property (atomic, assign) float margin;
343+
@property (assign) float margin;
344344

345345
/**
346346
* Cover the HUD background view with a radial gradient.
347347
*/
348-
@property (atomic, assign) BOOL dimBackground;
348+
@property (assign) BOOL dimBackground;
349349

350350
/*
351351
* Grace period is the time (in seconds) that the invoked method may be run without
@@ -356,14 +356,14 @@ typedef void (^MBProgressHUDCompletionBlock)();
356356
* Grace time functionality is only supported when the task status is known!
357357
* @see taskInProgress
358358
*/
359-
@property (atomic, assign) float graceTime;
359+
@property (assign) float graceTime;
360360

361361
/**
362362
* The minimum time (in seconds) that the HUD is shown.
363363
* This avoids the problem of the HUD being shown and than instantly hidden.
364364
* Defaults to 0 (no minimum show time).
365365
*/
366-
@property (atomic, assign) float minShowTime;
366+
@property (assign) float minShowTime;
367367

368368
/**
369369
* Indicates that the executed operation is in progress. Needed for correct graceTime operation.
@@ -373,38 +373,38 @@ typedef void (^MBProgressHUDCompletionBlock)();
373373
* you need to set this property when your task starts and completes in order to have normal graceTime
374374
* functionality.
375375
*/
376-
@property (atomic, assign) BOOL taskInProgress;
376+
@property (assign) BOOL taskInProgress;
377377

378378
/**
379379
* Removes the HUD from its parent view when hidden.
380380
* Defaults to NO.
381381
*/
382-
@property (atomic, assign) BOOL removeFromSuperViewOnHide;
382+
@property (assign) BOOL removeFromSuperViewOnHide;
383383

384384
/**
385385
* Font to be used for the main label. Set this property if the default is not adequate.
386386
*/
387-
@property (atomic, MB_STRONG) UIFont* labelFont;
387+
@property (MB_STRONG) UIFont* labelFont;
388388

389389
/**
390390
* Font to be used for the details label. Set this property if the default is not adequate.
391391
*/
392-
@property (atomic, MB_STRONG) UIFont* detailsLabelFont;
392+
@property (MB_STRONG) UIFont* detailsLabelFont;
393393

394394
/**
395395
* The progress of the progress indicator, from 0.0 to 1.0. Defaults to 0.0.
396396
*/
397-
@property (atomic, assign) float progress;
397+
@property (assign) float progress;
398398

399399
/**
400400
* The minimum size of the HUD bezel. Defaults to CGSizeZero (no minimum size).
401401
*/
402-
@property (atomic, assign) CGSize minSize;
402+
@property (assign) CGSize minSize;
403403

404404
/**
405405
* Force the HUD dimensions to be equal if possible.
406406
*/
407-
@property (atomic, assign, getter = isSquare) BOOL square;
407+
@property (assign, getter = isSquare) BOOL square;
408408

409409
@end
410410

0 commit comments

Comments
 (0)