We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc924aa commit 03ae3a8Copy full SHA for 03ae3a8
Tests/UICoreTests/ViewControllerTests.swift
@@ -108,6 +108,24 @@ final class MockViewController: ViewController {
108
XCTFail("Not implemented")
109
}
110
111
+ var modalPresentationStyleGetter: () -> ModalPresentationStyle = {
112
+ XCTFail("Not implemented")
113
+ return .automatic
114
+ }
115
+
116
+ var modalPresentationStyleSetter: (ModalPresentationStyle) -> Void = { _ in
117
118
119
120
+ override var modalPresentationStyle: ModalPresentationStyle {
121
+ get {
122
+ return modalPresentationStyleGetter()
123
124
+ set {
125
+ modalPresentationStyleSetter(newValue)
126
127
128
129
override func viewDidLoad() {
130
super.viewDidLoad()
131
viewDidLoadBlock()
0 commit comments