We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42561b1 commit 76c3985Copy full SHA for 76c3985
2 files changed
APCAppCore/APCAppCore/UI/Model/APCPickerItemQuantity.h
@@ -42,7 +42,10 @@ NS_ASSUME_NONNULL_BEGIN
42
@property (nonatomic, readonly) HKQuantity *quantity;
43
@property (nonatomic, readonly) NSString *text;
44
45
-- (instancetype)initWithQuantity:(HKQuantity *)quantity text:(NSString *)text NS_DESIGNATED_INITIALIZER;
+- (instancetype)init NS_UNAVAILABLE;
46
++ (instancetype)new NS_UNAVAILABLE;
47
+
48
+- (instancetype)initWithQuantity:(HKQuantity *)quantity text:(NSString *)text NS_DESIGNATED_INITIALIZER;
49
50
@end
51
APCAppCore/APCAppCore/UI/Model/APCTableViewItem.h
@@ -87,8 +87,6 @@
87
88
@property (nonatomic, copy) HKUnit *unit;
89
90
-- (HKQuantity *)quantity;
91
-
92
93
94
0 commit comments