-
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.
⭐️ Impl:
RNIModalSheetBottomAttachedOverlayController
Scaffolding
- Loading branch information
1 parent
7657c12
commit 78a2bb4
Showing
4 changed files
with
101 additions
and
214 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
ios/RNIModalSheetView/RNIModalSheetBottomAttachedOverlayController.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,37 @@ | ||
// | ||
// RNIModalSheetBottomAttachedOverlayController.swift | ||
// react-native-ios-modal | ||
// | ||
// Created by Dominic Go on 10/6/24. | ||
// | ||
|
||
import UIKit | ||
import DGSwiftUtilities | ||
import react_native_ios_utilities | ||
|
||
|
||
public class RNIModalSheetBottomAttachedOverlayController: | ||
ModalSheetBottomAttachedOverlayController { | ||
|
||
public override func setupContent() { | ||
defer { | ||
super.setupContent(); | ||
}; | ||
|
||
// MARK: TODO TEMP! | ||
self.contentController = DummyContentController(); | ||
self.view.backgroundColor = .red; | ||
}; | ||
}; | ||
|
||
// MARK: TODO - TEMP! | ||
public class DummyContentController: UIViewController { | ||
public override func viewDidLoad() { | ||
self.view.backgroundColor = .blue; | ||
|
||
self.view.translatesAutoresizingMaskIntoConstraints = false; | ||
NSLayoutConstraint.activate([ | ||
self.view.heightAnchor.constraint(equalToConstant: 100), | ||
]); | ||
}; | ||
}; |
179 changes: 0 additions & 179 deletions
179
ios/RNIModalSheetView/RNIModalSheetDecorationController.swift
This file was deleted.
Oops, something went wrong.
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
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