mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Add comments.
This commit is contained in:
@@ -20,6 +20,7 @@ import UIKit
|
||||
static func sizingViewHeightHashValue(from bubbleCellData: MXKRoomBubbleCellData) -> Int
|
||||
}
|
||||
|
||||
/// `SizableBaseBubbleCell` allows a cell using Auto Layout that inherits from this class to automatically return the height of the cell and cache the result.
|
||||
@objcMembers
|
||||
class SizableBaseBubbleCell: BaseBubbleCell, SizableBaseBubbleCellType {
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
/// `SizingViewHeight` allows to associate a height for a given width to a unique value.
|
||||
final class SizingViewHeight: Hashable, Equatable, CustomStringConvertible {
|
||||
|
||||
// MARK: - Properties
|
||||
|
||||
@@ -16,6 +16,7 @@ limitations under the License.
|
||||
|
||||
import Foundation
|
||||
|
||||
/// `SizingViewHeightStore` allows to store `SizingViewHeight` for a given hash value
|
||||
final class SizingViewHeightStore {
|
||||
|
||||
private var sizes = Set<SizingViewHeight>()
|
||||
|
||||
Reference in New Issue
Block a user