se-daily-iOS icon indicating copy to clipboard operation
se-daily-iOS copied to clipboard

[Enhancement] Update Stylesheet with fonts used in the project

Open thedc89 opened this issue 6 years ago • 0 comments

To help improve clarity and make the codebase cleaner, all fonts defined in various classes should go to the Stylesheet.swift file.

Example:

titleLabel.font = UIFont(name: "Roboto-Bold", size: UIView.getValueScaledByScreenWidthFor(baseValue: 17))

should be defined in the Stylesheet as follows:

enum FontStyles {
    static let headerTitle = UIFont(name: "Roboto-Bold", size: UIView.getValueScaledByScreenWidthFor(baseValue: 17))
  }

thedc89 avatar Jul 21 '19 10:07 thedc89