PNServiceData Class Reference

Inherits from NSObject
Declared in PNServiceData.h

Private Methods

  serviceData

Stores reference on service response data.

@property (nonatomic, readonly, copy) NSDictionary *serviceData

Availability

4.0

Declared In

PNServiceData+Private.h

+ dataWithServiceResponse:

Construct data object using \b PubNub service response dictionary.

+ (instancetype)dataWithServiceResponse:(NSDictionary *)response

Parameters

response

Reference on dictionary which should be stored internally and used by subclasses when give access to entries to the user.

Return Value

Constructed and ready to use service data object.

Availability

4.0

Declared In

PNServiceData+Private.h

Extension Methods

– initWithServiceResponse:

Initialize data object using \b PubNub service response dictionary.

- (instancetype)initWithServiceResponse:(NSDictionary *)response

Parameters

response

Reference on dictionary which should be stored internally and used by subclasses when give access to entries to the user.

Return Value

Initialized and ready to use service data object.

Availability

4.0

Declared In

PNServiceData.m