Skip to content

Commit

Permalink
WIP: bring up MTRDeviceController_Concrete
Browse files Browse the repository at this point in the history
  • Loading branch information
kiel-apple committed Aug 7, 2024
1 parent 3b98dcf commit 0df0bad
Show file tree
Hide file tree
Showing 3 changed files with 132 additions and 82 deletions.
8 changes: 4 additions & 4 deletions src/darwin/Framework/CHIP/MTRDeviceController_Concrete.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ typedef void (^MTRDeviceConnectionCallback)(MTRBaseDevice * _Nullable device, NS
@protocol MTRDeviceControllerDelegate;

MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))
@interface MTRDeviceController : NSObject
@interface MTRDeviceController_Concrete : MTRDeviceController

/**
* Controllers are created via the MTRDeviceControllerFactory object or
* initialized via initWithParameters:error:.
*/
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
//- (instancetype)init NS_UNAVAILABLE;
//+ (instancetype)new NS_UNAVAILABLE;

/**
* Initialize a device controller with the provided parameters. This will:
Expand Down Expand Up @@ -262,7 +262,7 @@ MTR_AVAILABLE(ios(16.1), macos(13.0), watchos(9.1), tvos(16.1))

@end

@interface MTRDeviceController (Deprecated)
@interface MTRDeviceController_Concrete (Deprecated)

@property (readonly, nonatomic, nullable) NSNumber * controllerNodeId MTR_DEPRECATED(
"Please use controllerNodeID", ios(16.1, 16.4), macos(13.0, 13.3), watchos(9.1, 9.4), tvos(16.1, 16.4));
Expand Down
Loading

0 comments on commit 0df0bad

Please sign in to comment.