remove feedsubmessage
This commit is contained in:
parent
3cc9750333
commit
6ee6170031
@ -43,8 +43,6 @@
|
||||
+ (nonnull MFLabel *)commonLabelFeedHeadline:(BOOL)scale;
|
||||
//55Rg 20pt
|
||||
+ (nonnull MFLabel *)commonLabelFeedMessage:(BOOL)scale;
|
||||
//55Rg 11pt
|
||||
+ (nonnull MFLabel *)commonLabelFeedSubMessage:(BOOL)scale;
|
||||
|
||||
#pragma mark - 1.0
|
||||
|
||||
@ -67,7 +65,6 @@
|
||||
- (void)styleB3:(BOOL)scale;
|
||||
- (void)styleFeedHeadline:(BOOL)scale;
|
||||
- (void)styleFeedMessage:(BOOL)scale;
|
||||
- (void)styleFeedSubMessage:(BOOL)scale;
|
||||
|
||||
- (void)styleFeedTitle:(BOOL)scale;
|
||||
- (void)styleHeadlineSmall:(BOOL)scale;
|
||||
|
||||
@ -154,12 +154,6 @@
|
||||
return label;
|
||||
}
|
||||
|
||||
+ (nonnull MFLabel *)commonLabelFeedSubMessage:(BOOL)scale {
|
||||
MFLabel *label = [MFLabel label];
|
||||
[label styleFeedSubMessage:scale];
|
||||
return label;
|
||||
}
|
||||
|
||||
#pragma mark - 1.0
|
||||
|
||||
+ (nonnull MFLabel *)label {
|
||||
@ -298,11 +292,6 @@
|
||||
[self setScale:scale];
|
||||
}
|
||||
|
||||
- (void)styleFeedSubMessage:(BOOL)scale {
|
||||
[MFStyler styleLabelFeedSubMessage:self genericScaling:NO];
|
||||
[self setScale:scale];
|
||||
}
|
||||
|
||||
- (void)styleHeadlineSmall:(BOOL)scale {
|
||||
[MFStyler styleLabelHeadlineSmall:self genericScaling:NO];
|
||||
[self setScale:scale];
|
||||
|
||||
@ -120,8 +120,6 @@ B3 -> Legal
|
||||
|
||||
//55Rg 20pt
|
||||
+ (nullable UIFont *)fontForFeedMessage;
|
||||
//55Rg 11pt
|
||||
+ (nullable UIFont *)fontForFeedSubMessage;
|
||||
|
||||
#pragma mark - 1.0 fonts
|
||||
|
||||
@ -176,7 +174,6 @@ B3 -> Legal
|
||||
// Returns the fonts for these styles allowing to apply a generic scale by device or not.
|
||||
+ (nullable UIFont *)fontForFeedHeadline:(BOOL)genericScaling;
|
||||
+ (nullable UIFont *)fontForFeedMessage:(BOOL)genericScaling;
|
||||
+ (nullable UIFont *)fontForFeedSubMessage:(BOOL)genericScaling;
|
||||
+ (nullable UIFont *)fontForHeadlineSmall:(BOOL)genericScaling;
|
||||
+ (nullable UIFont *)fontForHeadlineSmall2:(BOOL)genericScaling;
|
||||
+ (nullable UIFont *)fontForHeadlineSmall2ForWidth:(CGFloat)size;
|
||||
@ -244,7 +241,6 @@ B3 -> Legal
|
||||
|
||||
+ (void)styleLabelHeadlineFeed:(nonnull UILabel *)label;
|
||||
+ (void)styleLabelFeedMessage:(nonnull UILabel *)label;
|
||||
+ (void)styleLabelFeedSubMessage:(nonnull UILabel *)label;
|
||||
+ (void)styleLabelB2:(nonnull UILabel *)label;
|
||||
|
||||
|
||||
@ -257,7 +253,6 @@ B3 -> Legal
|
||||
+ (void)styleLabelHeadlineSmall:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;
|
||||
+ (void)styleLabelHeadlineFeed:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;
|
||||
+ (void)styleLabelFeedMessage:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;
|
||||
+ (void)styleLabelFeedSubMessage:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;
|
||||
|
||||
+ (void)styleFeedCardTitleLabel:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;
|
||||
+ (void)styleFeedCardTagLabel:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling;
|
||||
|
||||
@ -160,14 +160,6 @@ CGFloat const LabelWithInternalButtonLineSpace = 2;
|
||||
return [MFFonts mfFont55Rg:size];
|
||||
}
|
||||
|
||||
+ (nullable UIFont *)fontForFeedSubMessage:(BOOL)genericScaling {
|
||||
CGFloat size = 11;
|
||||
if (genericScaling) {
|
||||
size = [self sizeFontGenericForCurrentDevice:size];
|
||||
}
|
||||
return [MFFonts mfFont55Rg:size];
|
||||
}
|
||||
|
||||
+ (nullable UIFont *)fontForHeadlineSmall:(BOOL)genericScaling {
|
||||
CGFloat size = 15;
|
||||
if (genericScaling) {
|
||||
@ -446,10 +438,6 @@ CGFloat const LabelWithInternalButtonLineSpace = 2;
|
||||
return [self fontForFeedMessage:YES];
|
||||
}
|
||||
|
||||
+ (nullable UIFont *)fontForFeedSubMessage {
|
||||
return [self fontForFeedSubMessage:YES];
|
||||
}
|
||||
|
||||
+ (nullable UIFont *)fontForHeadlineSmall {
|
||||
return [self fontForHeadlineSmall:YES];
|
||||
}
|
||||
@ -630,11 +618,6 @@ CGFloat const LabelWithInternalButtonLineSpace = 2;
|
||||
label.textColor = [UIColor blackColor];
|
||||
}
|
||||
|
||||
+ (void)styleLabelFeedSubMessage:(nonnull UILabel *)label {
|
||||
label.font = [MFStyler fontForFeedMessage];
|
||||
label.textColor = [UIColor blackColor];
|
||||
}
|
||||
|
||||
#pragma mark - 1.0 Styles
|
||||
|
||||
+ (void)styleLabelHeadlineFeed:(nonnull UILabel *)label {
|
||||
@ -681,11 +664,6 @@ CGFloat const LabelWithInternalButtonLineSpace = 2;
|
||||
label.textColor = [UIColor blackColor];
|
||||
}
|
||||
|
||||
+ (void)styleLabelFeedSubMessage:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling {
|
||||
label.font = [MFStyler fontForFeedSubMessage:genericScaling];
|
||||
label.textColor = [UIColor blackColor];
|
||||
}
|
||||
|
||||
+ (void)styleFeedCardTitleLabel:(nonnull UILabel *)label genericScaling:(BOOL)genericScaling {
|
||||
label.font = [MFStyler fontForFeedCardTitle:genericScaling];
|
||||
label.textColor = [UIColor blackColor];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user