Swift update: class -> AnyObject
This commit is contained in:
@@ -99,13 +99,13 @@ class TabView: UIControl
|
||||
}
|
||||
}
|
||||
|
||||
protocol TabBarViewDataSource: class {
|
||||
protocol TabBarViewDataSource: AnyObject {
|
||||
func numberOfTabs(forTabBarView: TabBarView) -> Int
|
||||
func tabBarView(_ tabBarView: TabBarView, titleForTabAtIndex: Int) -> String
|
||||
func tabBarView(_ tabBarView: TabBarView, imageForTabAtIndex: Int) -> UIImage?
|
||||
}
|
||||
|
||||
protocol TabBarViewDelegate: class {
|
||||
protocol TabBarViewDelegate: AnyObject {
|
||||
func tabBarView(_ tabBarView: TabBarView, didClickToActivateTabAtIndex: Int)
|
||||
func tabBarView(_ tabBarView: TabBarView, didClickToCloseTabAtIndex: Int)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user