CosmicMind/Material

Value of type '(TabBar, TabItem) -> ()' has no member 'buttons'

Open

#1,284 建立於 2019年12月16日

在 GitHub 查看
 (1 留言) (0 反應) (2 負責人)Swift (11,982 star) (1,259 fork)batch import
help wantedmaterial

描述

in xcode 11 , swift5

@IBOutlet weak var tabBar: TabBar! var buttons :[UIButton] = [] self.tabBar.buttons = buttons; ==>this line self.tabBar.buttons = buttons; ==> give me this error ==> Value of type '(TabBar, TabItem) -> ()' has no member 'buttons'

貢獻者指南