diff --git a/ios/Temp/PresentationControllerMetrics.swift b/ios/Temp/RNIPresentationControllerMetrics.swift similarity index 94% rename from ios/Temp/PresentationControllerMetrics.swift rename to ios/Temp/RNIPresentationControllerMetrics.swift index d79b6f5f..c1827104 100644 --- a/ios/Temp/PresentationControllerMetrics.swift +++ b/ios/Temp/RNIPresentationControllerMetrics.swift @@ -1,5 +1,5 @@ // -// PresentationControllerMetrics.swift +// RNIPresentationControllerMetrics.swift // react-native-ios-modal // // Created by Dominic Go on 9/27/24. @@ -9,7 +9,7 @@ import UIKit import DGSwiftUtilities -public struct PresentationControllerMetrics: DictionaryRepresentationSynthesizing { +public struct RNIPresentationControllerMetrics: DictionaryRepresentationSynthesizing { public var instanceID: String; diff --git a/ios/Temp/UIPresentationController+Helpers.swift b/ios/Temp/UIPresentationController+Helpers.swift index e3886a67..fe885a95 100644 --- a/ios/Temp/UIPresentationController+Helpers.swift +++ b/ios/Temp/UIPresentationController+Helpers.swift @@ -10,7 +10,7 @@ import UIKit extension UIPresentationController { - public var presentationControllerMetrics: PresentationControllerMetrics { + public var presentationControllerMetrics: RNIPresentationControllerMetrics { .init(from: self); }; }; diff --git a/ios/Temp/UIViewController+ModalHelpers.swift b/ios/Temp/UIViewController+ModalHelpers.swift index 9a2a9f2b..bf65646c 100644 --- a/ios/Temp/UIViewController+ModalHelpers.swift +++ b/ios/Temp/UIViewController+ModalHelpers.swift @@ -146,7 +146,7 @@ extension UIViewController { .init(viewController: self); }; - public var presentationControllerMetrics: PresentationControllerMetrics? { + public var presentationControllerMetrics: RNIPresentationControllerMetrics? { self.presentationController?.presentationControllerMetrics; }; };