Merge branch 'feature/standard_label' into 'develop'

ONVIK-12121

See merge request BPHV_MIPS/mvm_core_ui!1
This commit is contained in:
Suresh, Kamlesh 2019-03-06 14:58:35 -05:00
commit 53c48b084c
2 changed files with 8 additions and 0 deletions

View File

@ -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;

View File

@ -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];