Skip to content

Commit

Permalink
💫 Update: RNIModalPresentation Protocol
Browse files Browse the repository at this point in the history
Related to: TODO:2023-03-04-15-39-46 - Impl. `RNIModalManager`
  • Loading branch information
dominicstop committed Mar 22, 2023
1 parent 7b4f586 commit 27f5965
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ios/src_library/React Native/RNIModal/RNIModal.swift
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ public protocol RNIModalPresentation: AnyObject {
/// Returns the modal view controller that is to be presented
var modalViewController: UIViewController? { get };

/// Returns the view controller that presented the `modalViewController`
/// instance.
var presentingViewController: UIViewController? { get };

/// The "main" window for this instance
var window: UIWindow? { get };

Expand Down

0 comments on commit 27f5965

Please sign in to comment.