Closed nickkjordan closed 10 years ago
Using the technique found here:
favShowsVC not actually instantiated as nil. When switchContainerView: is called, then favShowsVC is nil
Current issue: non-active VC is clearing. So, if favSongsVC is the present VC in the container view, and segmented control 1 is pressed, then the favSongsVC will be nil. This is not causing an error because for some reason currentVC is not identical to the present VC.
Fix above: favSongs and favShows need to have strong declarations in the header files.
currentVC is still different every call to switchContainerView: and does not equal either container VC
Possibly didn't run after changing currentVC to have a strong declaration, but last commit correctly switches between the container view VCs.
Add a UISegmentedControl to the top of the Favorites Tab that can switch between lists of favorite shows and songs.