Reaction improvements

This commit is contained in:
Ali
2022-01-28 17:47:36 +04:00
parent 9b9f57f019
commit b983de1abf
7 changed files with 105 additions and 12 deletions

View File

@@ -73,6 +73,13 @@ public enum TabBarItemContextActionType {
case whenActive
}
public protocol CustomViewControllerNavigationData: AnyObject {
func combine(summary: CustomViewControllerNavigationDataSummary?) -> CustomViewControllerNavigationDataSummary?
}
public protocol CustomViewControllerNavigationDataSummary: AnyObject {
}
@objc open class ViewController: UIViewController, ContainableController {
public struct NavigationLayout {
public var navigationFrame: CGRect
@@ -274,6 +281,13 @@ public enum TabBarItemContextActionType {
}
}
open var customNavigationData: CustomViewControllerNavigationData? {
get {
return nil
}
}
open var customNavigationDataSummary: CustomViewControllerNavigationDataSummary?
public internal(set) var isInFocus: Bool = false {
didSet {
if self.isInFocus != oldValue {