File tree Expand file tree Collapse file tree
dConnectDevicePlugin/dConnectDeviceLinking/dConnectDeviceLinking/Classes/profile Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,15 +13,12 @@ @interface DPLinkingSystemProfile () <DConnectSystemProfileDataSource>
1313
1414@end
1515
16- @implementation DPLinkingSystemProfile {
17- NSString *_version;
18- }
16+ @implementation DPLinkingSystemProfile
1917
20- - (instancetype ) initWithVersion : ( NSString *) version
18+ - (instancetype ) init
2119{
2220 self = [super init ];
2321 if (self) {
24- _version = version;
2522 self.dataSource = self;
2623
2724 __weak typeof (self) weakSelf = self;
@@ -38,7 +35,7 @@ - (instancetype) initWithVersion:(NSString *)version
3835
3936+ (instancetype ) systemProfile
4037{
41- return [[ DPLinkingSystemProfile alloc ] init ];
38+ return [DPLinkingSystemProfile new ];
4239}
4340
4441#pragma mark - DConnectSystemProfileDataSource
You can’t perform that action at this time.
0 commit comments