Move UIPageViewController extension to the file where it’s used.

This commit is contained in:
Brent Simmons
2024-05-06 22:18:09 -07:00
parent 51a893ed98
commit 03eff6a0da
3 changed files with 14 additions and 27 deletions

View File

@@ -1,22 +0,0 @@
//
// UIPageViewController-Extensions.swift
// NetNewsWire-iOS
//
// Created by Maurice Parker on 4/12/20.
// Copyright © 2020 Ranchero Software. All rights reserved.
//
import UIKit
extension UIPageViewController {
var scrollViewInsidePageControl: UIScrollView? {
for view in view.subviews {
if let scrollView = view as? UIScrollView {
return scrollView
}
}
return nil
}
}