It allows us to redefine the “default values” of the properties for specific UI-related classes. Most of you know about UIAppearance proxy. rightBarButtonItem = rightItemĮven if you move this code to some global styling function you still need to call it from the view controller’s viewDidLoad() every time. ![]() done, target : nil, action : nil ) rightItem. plain, target : nil, action : nil ) let rightItem = UIBarButtonItem ( title : "DoSmth", style. ![]() backBarButtonItem = UIBarButtonItem ( title : "", style. ![]() inside the content view controller navigationItem.
0 Comments
Leave a Reply. |