-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🛠 Refactor: Move + Group Related Sources
- Loading branch information
1 parent
2ff7b3c
commit dc61078
Showing
22 changed files
with
20 additions
and
8 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
ios/Extenstion+Helpers/UIViewController+RNIModalHelpers.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// UIViewController+RNIModalHelpers.swift | ||
// react-native-ios-modal | ||
// | ||
// Created by Dominic Go on 10/7/24. | ||
// | ||
|
||
import UIKit | ||
|
||
|
||
public extension UIViewController { | ||
|
||
var modalMetrics: RNIModalViewControllerMetrics { | ||
.init(viewController: self); | ||
}; | ||
|
||
var presentationControllerMetrics: RNIPresentationControllerMetrics? { | ||
self.presentationController?.presentationControllerMetrics; | ||
}; | ||
}; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.