Environment: xcode 6GM, Swift language. I set the image color of the tabBar element using this code in xcode 6 beta2
var cameraTab : UITabBarItem = self.tabBar.items[1] as UITabBarItem
But now in xcode 6GM it gives an error. Error: [AnyObject]? doesn't have a member named 'subscript'
ios swift xcode6 uitabbaritem
Saqib omer
source share