mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-28 08:30:11 +00:00
25 lines
491 B
Swift
25 lines
491 B
Swift
import Foundation
|
|
import QuartzCore
|
|
|
|
public protocol UIScrollViewDelegate {
|
|
}
|
|
|
|
open class UIScrollView: UIView {
|
|
public var contentOffset: CGPoint {
|
|
get {
|
|
return self.bounds.origin
|
|
} set(value) {
|
|
self.bounds.origin = value
|
|
}
|
|
}
|
|
|
|
public var contentSize: CGSize = CGSize() {
|
|
didSet {
|
|
|
|
}
|
|
}
|
|
|
|
public var alwaysBoundsVertical: Bool = false
|
|
public var alwaysBoundsHorizontal: Bool = false
|
|
}
|