From 16f49329f7fae62cda52b607f7c9a18b6ae86f89 Mon Sep 17 00:00:00 2001 From: "Xinlei(Ryan) Pan" Date: Wed, 26 Feb 2020 12:35:44 -0500 Subject: [PATCH] update create label method name --- MVMCoreUI/Atoms/Views/Label/Label.swift | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/MVMCoreUI/Atoms/Views/Label/Label.swift b/MVMCoreUI/Atoms/Views/Label/Label.swift index 70e54e45..6550d307 100644 --- a/MVMCoreUI/Atoms/Views/Label/Label.swift +++ b/MVMCoreUI/Atoms/Views/Label/Label.swift @@ -133,82 +133,82 @@ public typealias ActionBlock = () -> () //------------------------------------------------------ /// Title 2XLarge - @objc public static func commonLabelTitle2XLarge(_ scale: Bool) -> Label { + @objc public static func createLabelTitle2XLarge(_ scale: Bool) -> Label { let label = Label.label() label.styleTitle2XLarge(scale) return label } /// TitleXLarge - @objc public static func commonLabelTitleXLarge(_ scale: Bool) -> Label { + @objc public static func createLabelTitleXLarge(_ scale: Bool) -> Label { let label = Label.label() label.styleTitleXLarge(scale) return label } /// BoldTitleLarge - @objc public static func commonLabelBoldTitleLarge(_ scale: Bool) -> Label { + @objc public static func createLabelBoldTitleLarge(_ scale: Bool) -> Label { let label = Label.label() label.styleBoldTitleLarge(scale) return label } /// RegularTitleLarge - @objc public static func commonLabelRegularTitleLarge(_ scale: Bool) -> Label { + @objc public static func createLabelRegularTitleLarge(_ scale: Bool) -> Label { let label = Label.label() label.styleRegularTitleLarge(scale) return label } /// BoldTitleMedium - @objc public static func commonLabelBoldTitleMedium(_ scale: Bool) -> Label { + @objc public static func createLabelBoldTitleMedium(_ scale: Bool) -> Label { let label = Label.label() label.styleBoldTitleMedium(scale) return label } /// RegularTitleMedium - @objc public static func commonLabelRegularTitleMedium(_ scale: Bool) -> Label { + @objc public static func createLabelRegularTitleMedium(_ scale: Bool) -> Label { let label = Label.label() label.styleRegularTitleMedium(scale) return label } /// BoldBodyLarge - @objc public static func commonLabelBoldBodyLarge(_ scale: Bool) -> Label { + @objc public static func createLabelBoldBodyLarge(_ scale: Bool) -> Label { let label = Label.label() label.styleBoldBodyLarge(scale) return label } /// RegularBodyLarge - @objc public static func commonLabelRegularBodyLarge(_ scale: Bool) -> Label { + @objc public static func createLabelRegularBodyLarge(_ scale: Bool) -> Label { let label = Label.label() label.styleRegularBodyLarge(scale) return label } /// BoldBodySmall - @objc public static func commonLabelBoldBodySmall(_ scale: Bool) -> Label { + @objc public static func createLabelBoldBodySmall(_ scale: Bool) -> Label { let label = Label.label() label.styleBoldBodySmall(scale) return label } /// RegularBodySmall - @objc public static func commonLabelRegularBodySmall(_ scale: Bool) -> Label { + @objc public static func createLabelRegularBodySmall(_ scale: Bool) -> Label { let label = Label.label() label.styleRegularBodySmall(scale) return label } /// BoldMicro - @objc public static func commonLabelBoldMicro(_ scale: Bool) -> Label { + @objc public static func createLabelBoldMicro(_ scale: Bool) -> Label { let label = Label.label() label.styleBoldMicro(scale) return label } /// RegularMicro - @objc public static func commonLabelRegularMicro(_ scale: Bool) -> Label { + @objc public static func createLabelRegularMicro(_ scale: Bool) -> Label { let label = Label.label() label.styleRegularMicro(scale) return label