diff --git a/UI/Sources/UI/Color/Theme.swift b/UI/Sources/UI/Color/Theme.swift index 9f99449..d64dc51 100644 --- a/UI/Sources/UI/Color/Theme.swift +++ b/UI/Sources/UI/Color/Theme.swift @@ -9,11 +9,18 @@ import UIKit public class Theme { - static let background = UIColor(named: "background") - static let supplementaryBackground = UIColor(named: "supplementary background") - static let blue = UIColor(named: "blue") - static let border = UIColor(named: "border") - static let divider = UIColor(named: "divider") - static let primaryText = UIColor(named: "primary text") - static let secondrayText = UIColor(named: "secondray text") + public static let background = UIColor(named: "background", in: Bundle.module + , compatibleWith: nil) + public static let supplementaryBackground = UIColor(named: "supplementary background", + in: Bundle.module, compatibleWith: nil) + public static let blue = UIColor(named: "blue", + in: Bundle.module, compatibleWith: nil) + public static let border = UIColor(named: "border", + in: Bundle.module, compatibleWith: nil) + public static let divider = UIColor(named: "divider", + in: Bundle.module, compatibleWith: nil) + public static let primaryText = UIColor(named: "primary text", + in: Bundle.module, compatibleWith: nil) + public static let secondrayText = UIColor(named: "secondray text", + in: Bundle.module, compatibleWith: nil) } diff --git a/UI/Sources/UI/View/Base/BaseCollectionCell.swift b/UI/Sources/UI/View/Base/BaseCollectionCell.swift index 789d65c..b5d9357 100644 --- a/UI/Sources/UI/View/Base/BaseCollectionCell.swift +++ b/UI/Sources/UI/View/Base/BaseCollectionCell.swift @@ -7,7 +7,7 @@ import UIKit -public class BaseCollectionCell: UICollectionViewCell, UISequenceIdentifier { +open class BaseCollectionCell: UICollectionViewCell, UISequenceIdentifier { public override init(frame: CGRect) { super.init(frame: frame) diff --git a/UI/Sources/UI/View/Base/BaseCollectionView.swift b/UI/Sources/UI/View/Base/BaseCollectionView.swift index d30caea..29bde46 100644 --- a/UI/Sources/UI/View/Base/BaseCollectionView.swift +++ b/UI/Sources/UI/View/Base/BaseCollectionView.swift @@ -7,7 +7,7 @@ import UIKit -public class BaseCollectionView: UICollectionView { +open class BaseCollectionView: UICollectionView { override init(frame: CGRect, collectionViewLayout layout: UICollectionViewLayout) { super.init(frame: frame, collectionViewLayout: layout) diff --git a/UI/Sources/UI/View/Base/BaseControl.swift b/UI/Sources/UI/View/Base/BaseControl.swift index 3a15a2b..41de0bf 100644 --- a/UI/Sources/UI/View/Base/BaseControl.swift +++ b/UI/Sources/UI/View/Base/BaseControl.swift @@ -7,7 +7,7 @@ import UIKit -public class BaseControl: UIControl { +open class BaseControl: UIControl { public required init?(coder: NSCoder) { super.init(coder: coder) diff --git a/UI/Sources/UI/View/Base/BaseLabel.swift b/UI/Sources/UI/View/Base/BaseLabel.swift index dc9e993..57509ee 100644 --- a/UI/Sources/UI/View/Base/BaseLabel.swift +++ b/UI/Sources/UI/View/Base/BaseLabel.swift @@ -7,7 +7,7 @@ import UIKit -public class BaseLabel: UILabel { +open class BaseLabel: UILabel { public required init?(coder: NSCoder) { super.init(coder: coder) diff --git a/UI/Sources/UI/View/Base/BaseView.swift b/UI/Sources/UI/View/Base/BaseView.swift index 0fba767..9d778d2 100644 --- a/UI/Sources/UI/View/Base/BaseView.swift +++ b/UI/Sources/UI/View/Base/BaseView.swift @@ -7,7 +7,7 @@ import UIKit -public class BaseView: UIView { +open class BaseView: UIView { public required init?(coder: NSCoder) { super.init(coder: coder) diff --git a/UI/Sources/UI/View/Base/BaseViewController.swift b/UI/Sources/UI/View/Base/BaseViewController.swift index b2cc1a1..82cdbde 100644 --- a/UI/Sources/UI/View/Base/BaseViewController.swift +++ b/UI/Sources/UI/View/Base/BaseViewController.swift @@ -7,9 +7,9 @@ import UIKit -public class BaseViewController: UIViewController { +open class BaseViewController: UIViewController { - var spaceSeparatorFromEdgeInList: CGFloat { + open var spaceSeparatorFromEdgeInList: CGFloat { return 16 } diff --git a/UI/Sources/UI/View/Label/SubTitleLabel.swift b/UI/Sources/UI/View/Label/SubTitleLabel.swift index 76e8c0f..fb22023 100644 --- a/UI/Sources/UI/View/Label/SubTitleLabel.swift +++ b/UI/Sources/UI/View/Label/SubTitleLabel.swift @@ -7,7 +7,7 @@ import UIKit -class SubTitleLabel: BaseLabel { +public class SubTitleLabel: BaseLabel { override func setupViews() { self.font = Raleway.regular.customFont(basedOnTextStyle: .caption2)