mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-22 15:50:17 +01:00
23 lines
403 B
Swift
23 lines
403 B
Swift
//
|
|
// 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
|
|
}
|
|
|
|
}
|