NSDK_JobQueue
@interface NSDK_JobQueue : NSObject
Implements a worker thread where you can queue and serialize your long lasting NavigationSDK operations.
@author PTV AG Karlsruhe
-
Declaration
Objective-C
+ (NSDK_JobQueue *)sharedInstance;
Swift
class func sharedInstance() -> NSDK_JobQueue!
Return Value
the NSDK_JobQueue singleton object
-
push a Selector into the JobQueue
Declaration
Objective-C
- (void)pushWithSelector:(SEL)selector target:(id)target;
Swift
func push(with selector: Selector!, target: Any!)
-
push a Block into the JobQueue
Declaration
Objective-C
- (void)pushWithBlock:(void (^)(void))block;
Swift
func push(_ block: (() -> Void)!)