-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make a “protected” access level for PeripheralServicesFactory propert…
…ies. Refactor some remaining parts to use subscripts instead methods.
- Loading branch information
Showing
7 changed files
with
32 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
BleScannerFramework/BleScanner/Implementation/PeripheralServicesFactorySubclass.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// PeripheralServicesFactorySubclass.h | ||
// BleScanner | ||
// | ||
// Created by Andrey Ermoshin on 23/02/2018. | ||
// Copyright © 2018 kyzmitch. All rights reserved. | ||
// | ||
|
||
#import <BLEScanner/PeripheralServicesFactory.h> | ||
|
||
@interface PeripheralServicesFactory () | ||
|
||
@property (nonatomic, strong, nonnull, readwrite) NSArray<CBUUID *> *backgroundServices; | ||
@property (nonatomic, strong, nonnull, readwrite) NSDictionary<CBUUID *, NSArray<CBUUID *> *> *characteristicsUuids; | ||
@property (nonatomic, strong, nonnull, readwrite) NSMutableDictionary<CBUUID *, NSNumber *> *serviceChecks; | ||
@property (nonatomic, strong, nonnull, readwrite) NSMutableDictionary<CBUUID *, NSArray<CBCharacteristic *> *> *characteristicsDictionary; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters