Skip to content

Commit

Permalink
Migration guide update
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Klimek committed Apr 15, 2015
1 parent 1a4c289 commit 763f5d4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions SDK_3_0_MIGRATION_GUIDE.md
Expand Up @@ -146,7 +146,7 @@ ESTBeaconRegion *region = [[ESTBeaconRegion alloc] initWithProximityUUID:ESTIMOT
self.beaconManager = [[ESTBeaconManager alloc] init];
self.beaconManager.delegate = self;
self.beaconManagerstartEstimoteBeaconDiscoveryForRegion:region updateInterval:1.];
self.beaconManager startEstimoteBeaconDiscoveryForRegion:region updateInterval:1.];
```

**SDK 3.0 syntax:**
Expand All @@ -158,11 +158,13 @@ self.utilityManager.delegate = self;
[self.utilityManager startEstimoteBeaconDiscovery];
```

or you can specify update interval for callback method

```
self.utilityManager = [[ESTUtilityManager alloc] init];
self.utilityManager.delegate = self;
[self.utilityManager startEstimoteBeaconDiscoveryWithUpdateInterval:1.];
[self.utilityManager startEstimoteBeaconDiscoveryWithUpdateInterval:2.5];
```

As a result of scanning array of `ESTBluetoothBeacon` objects in delivered to `utilityManager:didDiscoverBeacons:` delegate method.
Expand Down Expand Up @@ -296,7 +298,7 @@ beacon.delegate = self;

```
ESTBeaconConnection *beaconConnection = self.doorBeaconConnection;
beaconConnection = self;
beaconConnection.delegate = self;
[beaconConnection startConnection];
```

Expand Down

0 comments on commit 763f5d4

Please sign in to comment.