YMSCBStoredPeripherals Class Reference

Inherits from NSObject
Declared in YMSCBStoredPeripherals.h
YMSCBStoredPeripherals.m

Overview

Class to manage the storage of discovered UUIDs into NSUserDefaults.standardUserDefaults.

Methods

+ initializeStorage

Initialize array with key name storedPeripherals in standardUserDefaults.

+ (void)initializeStorage

Discussion

Initialize array with key name storedPeripherals in standardUserDefaults.

Declared In

YMSCBStoredPeripherals.h

+ genIdentifiers

Generate array of NSUUID objects to feed into [YMSCBCentralManager retrievePeripheralsWithIdentifiers:]

+ (NSArray *)genIdentifiers

Discussion

Generate array of NSUUID objects to feed into [YMSCBCentralManager retrievePeripheralsWithIdentifiers:]

Declared In

YMSCBStoredPeripherals.h

+ saveUUID:

Save UUID in storedPeripherals.

+ (void)saveUUID:(NSUUID *)UUID

Parameters

UUID

peripheral UUID

Discussion

Save UUID in storedPeripherals.

Declared In

YMSCBStoredPeripherals.h

+ deleteUUID:

Delete UUID in storedPeripherals.

+ (void)deleteUUID:(NSUUID *)UUID

Parameters

UUID

peripheral UUID

Discussion

Delete UUID in storedPeripherals.

Declared In

YMSCBStoredPeripherals.h