1/9
Flashcards for reviewing iOS tab bar customization in Backbase applications.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Where is the customization point for a custom tab bar in Backbase applications?
Within the appConfig closure in your AppDelegate.
What closure is used to set up the app's tab bar in Backbase applications?
The didUpdateState closure defined on the appConfig.
When is the didUpdateState
closure called?
Whenever the app's router changes state (e.g., user logs in or out).
What does the didUpdateState
closure return?
Another closure that can be used to update the app's window when needed.
What properties determine the entryPoint
to be used for a given state?
The objects FeatureFilter
and RetailUniversalAppState
.
What must be checked to determine when a custom entry point can be provided with a custom tab bar when logged in?
Whether a FeatureFilter object is registered in Resolver and whether the FeatureFilter's features property is set.
What enum case is used from EntryPoint
to create the custom tab bar?
.tabbedMenu
What must be passed to the tab bar or More… tab for view controllers?
Functions that can create view controllers, not the view controllers themselves.
When is the default entryPoint used for the custom tab bar?
Whenever it's not appropriate to create our custom tab bar, we just grab the entryPoint from the provided state instead.
Where is the closure body wrapped when interacting with the app's UI in the didUpdateState
closure?
DispatchQueue.main.async