mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Text input updates
This commit is contained in:
@@ -39,6 +39,22 @@ public final class ChatInputAccessoryPanelEnvironment: Equatable {
|
||||
}
|
||||
}
|
||||
|
||||
public final class ChatInputAccessoryPanelTransitionData {
|
||||
public let titleView: UIView
|
||||
public let textView: UIView
|
||||
public let lineView: UIView
|
||||
public let imageView: UIView?
|
||||
|
||||
public init(titleView: UIView, textView: UIView, lineView: UIView, imageView: UIView?) {
|
||||
self.titleView = titleView
|
||||
self.textView = textView
|
||||
self.lineView = lineView
|
||||
self.imageView = imageView
|
||||
}
|
||||
}
|
||||
|
||||
public protocol ChatInputAccessoryPanelView: UIView {
|
||||
var contentTintView: UIView { get }
|
||||
var storedFrameBeforeDismissed: CGRect? { get set }
|
||||
var transitionData: ChatInputAccessoryPanelTransitionData? { get }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user