Skip to content

Commit d1d4784

Browse files
committed
Fix typos
1 parent 7326b11 commit d1d4784

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ContainerController/Core/ContainerController.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ open class ContainerController: UIViewController {
123123
if self.shouldReuseContentController {
124124
self.embedContentControllers[_segueIdentifier] = segue.destination
125125
}
126-
// Check whether there is already a current content controler
126+
// Check whether there is already a current content controller
127127
if let _currentContentController = self.currentContentController {
128128
// If there is a current content controller we can replace the content controller directly
129129
self.replace(_currentContentController, with: segue.destination, isReused: false)
@@ -155,7 +155,7 @@ open class ContainerController: UIViewController {
155155

156156
// MARK: - PRIVATE -
157157

158-
/// Flag which is `true` a transition is currently performing
158+
/// Flag which is `true` if a transition is currently performing
159159
private var isPerformingTransition = false
160160

161161
private var embedContentControllers = [ReuseIdentifier: UIViewController]()
@@ -166,7 +166,7 @@ open class ContainerController: UIViewController {
166166

167167
// MARK: - Display
168168

169-
/// Replaces the given content controller with each other. The `fromContentController` has to be one which is currently displayed.
169+
/// Replaces the given content controller with each other. The `sourceContentController` has to be one which is currently displayed.
170170
///
171171
/// - Parameters:
172172
/// - sourceContentController: The current content controller which should be replaced

0 commit comments

Comments
 (0)