vds_ios_sample/VDSSample/ViewControllers/ScrollViewController/KeyboardFrameChange.swift
Matt Bruce 5ed2384db3 refactored to have a scrolling viewcontroller
updated checkboxgroup

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-24 11:08:05 -05:00

22 lines
583 B
Swift

import CoreGraphics
import Foundation
/// Represents keyboard frame change.
public struct KeyboardFrameChange {
/// Create new frame-change object.
///
/// - Parameters:
/// - frame: new keyboard frame
/// - animationDuration: change frame animation duration
public init(frame: CGRect, animationDuration: TimeInterval) {
self.frame = frame
self.animationDuration = animationDuration
}
/// New keyboard frame.
public let frame: CGRect
/// Frame change animation duration.
public let animationDuration: TimeInterval
}