In the start of the Back to Black section it has
! Open the storyboard and go to the Current Location View Controller. Select
the top-level view and change its Background Color to Black Color.
! Select all the labels (probably easiest from the outline pane since they are now
invisible) and set their Color to White Color.
I don’t understand this and can’t figure it out. The Current Location View Controller is a swift file so selecting the view and changing color makes no sense. An in the story board, there isn’t any pane called Current Location View Controller, so I have no idea what to do.
In the storyboard there is a scene that represents the Current Location View Controller. That’s the one you select.
if I open the main.storyboard file it has
Tag Scene
Tag location scene
Category Picker View Controller scene
Tab bar controller scene
location scene
Locations scene
Map scene
Navigation Controller scene
There is no Current Location View Controller scene.
And even if I select a scene which does exist, I don’t see an option for background color
If I look at the categoryPickerViewController in the last version of source code it has
tableView.backgroundColor = UIColor.blackColor()
tableView.separatorColor = UIColor(white: 1.0, alpha: 0.2)
tableView.indicatorStyle = .White
In the viewDidLoad function. Is this what was supposed to be done?
Xcode is a bit annoying: in the latest versions it no longer calls the scenes by their class names but by the title you give it. The one you are looking for is Tag Scene, and the background color goes on its primary View.
OK, That enabled me to get it working, thanks.