The default VC for the tab bar is SearchVC. It would be better to get user's watchlist and favorites when loading SearchVC. Because if not, WatchlistVC will not know whether a movie is in Favorites or not if user didn't open FavoritesVC yet (toggleBarButton displayed as dark or not) and as same as FavoritesVC.
The default VC for the tab bar is
SearchVC
. It would be better to get user'swatchlist
andfavorites
when loadingSearchVC
. Because if not,WatchlistVC
will not know whether a movie is in Favorites or not if user didn't open FavoritesVC yet (toggleBarButton
displayed as dark or not) and as same asFavoritesVC
.