//
//  UIScrollView+Extensions.swift
//  ListableUI
//
//  Created by Kyle Bashour on 4/10/20.
//

import UIKit

extension UIScrollView {

    /// The frame of the collection view inset by the adjusted content inset,
    /// i.e., the visible frame of the content.
    var contentFrame: CGRect {
        return self.bounds.inset(by: self.adjustedContentInset)
    }
}
