CosmicMind/Material

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

Open

#1,284 opened on Dec 16, 2019

View on GitHub
 (1 comment) (0 reactions) (2 assignees)Swift (11,982 stars) (1,259 forks)batch import
help wantedmaterial

Description

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'

Contributor guide