Library
Instance Methods | Class Methods | List of all members
ISOHelper Class Reference
Inheritance diagram for ISOHelper:

Instance Methods

(void) - dispatchOnMainQueueSync
 
(void) - dispatchOnMainQueueAsync
 
(void) - dispatchOnMainQueueAfterDelay
 

Class Methods

(CGSize) + screenSize
 
(NSString *) + formatDate:
 
(NSString *) + getUUID
 
(NSString *) + getDeviceUUID
 
(NSString *) + getMachineName
 
(void) + deleteDeviceUUID
 

Method Documentation

+ (void) deleteDeviceUUID

ONLY FOR TESTING: delete the UUID of the device

- (void) dispatchOnMainQueueAfterDelay (float)  delaySeconds
(void(^)(void))  block 

dispatch the main queue after a delay during the synchronization

Parameters
delaySeconds
^block
- (void) dispatchOnMainQueueAsync (void(^)(void))  block

dispatch the main queue for the asynchronization (look apple description)

Parameters
^block
- (void) dispatchOnMainQueueSync (void(^)(void))  block

dispatch the main queue for the synchronization (look apple description)

Parameters
^block
+ (NSString *) formatDate: (NSDate*)  date

formate the date to a string.

Parameters
datepassed the object
Returns
date or if there is no date a "-"
+ (NSString *) getDeviceUUID

get the UUID from the device

Returns
the UUID
+ (NSString *) getMachineName

get the information of the device

Returns
the device information
+ (NSString *) getUUID

get the UUID

Returns
return the UUID as a string (CFBridgingRelease: Moves a non-Objective-C pointer to Objective-C and also transfers ownership to ARC.)
+ (CGSize) screenSize

get the sreensize of the iOS device (for the iOS version and orientation of the device)

Returns
the screensize of the device

The documentation for this class was generated from the following files: