MirrorFly UIKit LifeCycle

UIKit Life Cycle#

MirrorFly UIKit's life cycle provides various interfaces that are applied to all view controllers and views in key functions. You can set up views and layouts and decide on theme-related components such as font and color. These interfaces are customizable as you can override the value of properties and methods in the view to fit the style of your app. MirrorFly UIKit's life cycle works in accordance with Apple's UIKit life cycle using methods that apply to the whole UIKit.

InterfaceDescription
setUpViewsSets the value of properties used to create views and sets the hierarchy of view components
setupLayoutsSets the layout of components in a view
updateLayoutsUpdates the layout of components in a view if any changes have been made
setupStylesSets the style of a view, such as ColorSet, StringSet, and FontSet.
updateStylesUpdates the style of a view, such as ColorSet, StringSet, and FontSet, if any changes have been made
setupNavigationBar(backgroundColor: UIColor,shadowColor: UIColor)Sets the color of the navigation bar in a view.