Various improvements

This commit is contained in:
Ilya Laktyushin
2024-08-10 18:41:17 +02:00
parent 8fdcb91bbc
commit d0156faede
19 changed files with 248 additions and 100 deletions

View File

@@ -18,7 +18,7 @@ public enum PresentationContextType {
public final class PresentationContext {
private var _view: UIView?
var view: UIView? {
public var view: UIView? {
get {
return self._view
} set(value) {
@@ -123,6 +123,9 @@ public final class PresentationContext {
return (containerLayout, CGRect(origin: CGPoint(), size: containerLayout.size))
}
public init() {
}
public func present(_ controller: ContainableController, on level: PresentationSurfaceLevel, blockInteraction: Bool = false, completion: @escaping () -> Void) {
let controllerReady = controller.ready.get()
|> filter({ $0 })