Merge branch 'feature/standard_label' into 'develop'
ONVIK-12121 See merge request BPHV_MIPS/mvm_core_ui!1
This commit is contained in:
commit
53c48b084c
@ -41,6 +41,8 @@
|
|||||||
|
|
||||||
// Getters
|
// Getters
|
||||||
+ (nonnull MFLabel *)label;
|
+ (nonnull MFLabel *)label;
|
||||||
|
// This is for swift files. Swift is not able to find MFLabel.label()
|
||||||
|
+ (nonnull MFLabel *)standardLabel;
|
||||||
+ (nonnull MFLabel *)commonLabelBodyWithSize:(CGFloat)size scale:(BOOL)scale;
|
+ (nonnull MFLabel *)commonLabelBodyWithSize:(CGFloat)size scale:(BOOL)scale;
|
||||||
+ (nonnull MFLabel *)commonLabelBodyBold:(BOOL)scale;
|
+ (nonnull MFLabel *)commonLabelBodyBold:(BOOL)scale;
|
||||||
+ (nonnull MFLabel *)commonLabelBodyLighter:(BOOL)scale;
|
+ (nonnull MFLabel *)commonLabelBodyLighter:(BOOL)scale;
|
||||||
|
|||||||
@ -110,6 +110,12 @@
|
|||||||
return [[MFLabel alloc] initWithFrame:CGRectZero];
|
return [[MFLabel alloc] initWithFrame:CGRectZero];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// This is for swift files. Swift is not able to find MFLabel.label()
|
||||||
|
+ (nonnull MFLabel *)standardLabel {
|
||||||
|
MFLabel *label = [MFLabel label];
|
||||||
|
return label;
|
||||||
|
}
|
||||||
|
|
||||||
+ (nonnull MFLabel *)commonLabelB2:(BOOL)scale {
|
+ (nonnull MFLabel *)commonLabelB2:(BOOL)scale {
|
||||||
MFLabel *label = [MFLabel label];
|
MFLabel *label = [MFLabel label];
|
||||||
[label styleB2:scale];
|
[label styleB2:scale];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user