Conforms to NSObject
Declared in STWService.h

Overview

STWService is the protocol which is conformed by Straw Service classes.

Tasks

Class Methods

alloc

Allocate instance

+ (instancetype)alloc

Return Value

instance of the class

Discussion

Allocate instance

Declared In

STWService.h

Instance Methods

isBackgroundJob:

Check if the given selector is a background job or not.

- (BOOL)isBackgroundJob:(NSString *)method

Parameters

method

the method to check

Return Value

true if the given selector is a main thread job.

Discussion

Check if the given selector is a background job or not.

Declared In

STWService.h

name

Returns the name of the Straw Service.

- (NSString *)name

Discussion

Returns the name of the Straw Service.

Declared In

STWService.h