Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 505 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 505 Bytes

UIViewAppearanceSwift

#Install:

pod 'UIViewAppearanceSwift' :git => 'https://github.com/levantAJ/UIViewAppearanceSwift.git', :branch => 'master'

#Implementation:

import UIViewAppearanceSwift

func layout() {
    UINavigationBar.appearanceWhenContained(within: MFMailComposeViewController.self).barStyle = .black
    UIBarButtonItem.appearanceWhenContained(within: UISearchBar.self).setTitleTextAttributes([NSFontAttributeName: UIFont.systemFont(ofSize: 15)], for: .normal)
}