From 7c742261f086ca88db9b0b923a81350295b1a203 Mon Sep 17 00:00:00 2001 From: Marcin Klimek Date: Thu, 20 Nov 2014 01:56:44 +0100 Subject: [PATCH] Bulk updater refactored, Bulk updater demo added, podspec corrected --- CHANGELOG.md | 6 + .../Classes/ESBulkUpdaterSingleOperation.html | 384 ------------------ Documents/Classes/ESTBeacon.html | 2 +- Documents/Classes/ESTBeaconManager.html | 2 +- Documents/Classes/ESTBeaconRegion.html | 4 +- ...Config.html => ESTBeaconUpdateConfig.html} | 16 +- ...dateInfo.html => ESTBeaconUpdateInfo.html} | 48 +-- ...ESBulkUpdater.html => ESTBulkUpdater.html} | 48 +-- .../Constants/ESBeaconUpdateInfoStatus.html | 14 +- Documents/Constants/ESBulkUpdaterStatus.html | 10 +- Documents/Constants/ESTBeaconBatteryType.html | 2 +- .../Constants/ESTBeaconCharInfoType.html | 2 +- Documents/Constants/ESTBeaconColor.html | 2 +- .../Constants/ESTBeaconConnectionStatus.html | 2 +- .../ESTBeaconEstimoteSecureUUID.html | 2 +- .../Constants/ESTBeaconFirmwareState.html | 2 +- .../Constants/ESTBeaconFirmwareUpdate.html | 2 +- Documents/Constants/ESTBeaconPower.html | 2 +- .../Constants/ESTBeaconPowerSavingMode.html | 2 +- Documents/Constants/ESTBulkUpdaterMode.html | 8 +- .../Protocols/ESBeaconUpdateInfoDelegate.html | 4 +- .../ESBulkUpdaterSingleOperationDelegate.html | 321 --------------- Documents/Protocols/ESTBeaconDelegate.html | 2 +- .../Protocols/ESTBeaconManagerDelegate.html | 2 +- Documents/hierarchy.html | 22 +- Documents/index.html | 18 +- EstimoteSDK.podspec | 4 +- .../Headers/ESBulkUpdaterSingleOperation.h | 66 --- EstimoteSDK/Headers/ESConcurrentOperation.h | 26 -- EstimoteSDK/Headers/ESTBeacon.h | 2 +- EstimoteSDK/Headers/ESTBeaconDefinitions.h | 2 +- EstimoteSDK/Headers/ESTBeaconFirmwareInfoVO.h | 2 +- EstimoteSDK/Headers/ESTBeaconFirmwareVO.h | 2 +- EstimoteSDK/Headers/ESTBeaconManager.h | 2 +- EstimoteSDK/Headers/ESTBeaconRegion.h | 4 +- ...UpdateConfig.h => ESTBeaconUpdateConfig.h} | 4 +- ...aconUpdateInfo.h => ESTBeaconUpdateInfo.h} | 12 +- .../{ESBulkUpdater.h => ESTBulkUpdater.h} | 20 +- EstimoteSDK/libEstimoteSDK.a | Bin 15813716 -> 15815836 bytes Examples/Examples.xcodeproj/project.pbxproj | 10 + Examples/Examples/ESTBulkUpdaterDemoVC.h | 16 + Examples/Examples/ESTBulkUpdaterDemoVC.m | 119 ++++++ Examples/Examples/ESTBulkUpdaterDemoVC.xib | 36 ++ Examples/Examples/ESTViewController.m | 13 +- 44 files changed, 328 insertions(+), 941 deletions(-) delete mode 100644 Documents/Classes/ESBulkUpdaterSingleOperation.html rename Documents/Classes/{ESBeaconUpdateConfig.html => ESTBeaconUpdateConfig.html} (93%) rename Documents/Classes/{ESBeaconUpdateInfo.html => ESTBeaconUpdateInfo.html} (92%) rename Documents/Classes/{ESBulkUpdater.html => ESTBulkUpdater.html} (92%) delete mode 100644 Documents/Protocols/ESBulkUpdaterSingleOperationDelegate.html delete mode 100644 EstimoteSDK/Headers/ESBulkUpdaterSingleOperation.h delete mode 100644 EstimoteSDK/Headers/ESConcurrentOperation.h rename EstimoteSDK/Headers/{ESBeaconUpdateConfig.h => ESTBeaconUpdateConfig.h} (87%) rename EstimoteSDK/Headers/{ESBeaconUpdateInfo.h => ESTBeaconUpdateInfo.h} (90%) rename EstimoteSDK/Headers/{ESBulkUpdater.h => ESTBulkUpdater.h} (85%) create mode 100644 Examples/Examples/ESTBulkUpdaterDemoVC.h create mode 100644 Examples/Examples/ESTBulkUpdaterDemoVC.m create mode 100644 Examples/Examples/ESTBulkUpdaterDemoVC.xib diff --git a/CHANGELOG.md b/CHANGELOG.md index 72b09a5a2..d1102f63d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 2.2.1 (November 20, 2014) + +Improvements: +- Bulk updater refactored +- Bulk updater demo added + ## 2.2.0 (November 19, 2014) Features: diff --git a/Documents/Classes/ESBulkUpdaterSingleOperation.html b/Documents/Classes/ESBulkUpdaterSingleOperation.html deleted file mode 100644 index 36341f3ed..000000000 --- a/Documents/Classes/ESBulkUpdaterSingleOperation.html +++ /dev/null @@ -1,384 +0,0 @@ - - - - - ESBulkUpdaterSingleOperation Class Reference - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Inherits fromESConcurrentOperation
Declared inESBulkUpdaterSingleOperation.h
ESBulkUpdaterSingleOperation.m
- - - - -
- -

Overview

-

Operation that updates single beacon. It is intended to be executed on NSOperationQueue. If you want to executed it manually, read “Executing Operations Manually” chapter from Apple’s Concurrency Programming Guide.

- -

Flow of execution: -- connects to a beacon -- updates beacon’s properties as defined in given config object -- disconnects from a beacon

- -

In order to get notified when operation finishes, set completionBlock on it.

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - - - - - -
- -

Instance Methods

- -
- -

initWithBeaconInfo:

- - - -
-

Initialize object with ESBeaconUpdateInfo that describe all the details -for update procedure including beacon and config.

-
- - - -
- (instancetype)initWithBeaconInfo:(ESBeaconUpdateInfo *)beacon
- - - -
-

Parameters

- -
-
beacon
-

Beacon information

-
- -
- - - -
-

Return Value

-

instance of operation object

-
- - - - - - - - - - - -
-

Declared In

- ESBulkUpdaterSingleOperation.h
-
- - -
- -
- -

startOperation

- - - -
-

Method used to perform opeartion outside of operation queue

-
- - - -
- (void)startOperation
- - - -
-

Parameters

- -
-
completion
-

completion block containing reference to operation (self)

-
- -
- - - - - - - - - - - - - -
-

Declared In

- ESBulkUpdaterSingleOperation.h
-
- - -
- -
- - - - -
- - -
-
- - - \ No newline at end of file diff --git a/Documents/Classes/ESTBeacon.html b/Documents/Classes/ESTBeacon.html index de0160eda..70f150959 100644 --- a/Documents/Classes/ESTBeacon.html +++ b/Documents/Classes/ESTBeacon.html @@ -3558,7 +3558,7 @@

Declared In