mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-28 20:26:57 +02:00
Add comments.
This commit is contained in:
@@ -21,6 +21,7 @@ import MatrixKit
|
||||
var bubbleCellContentView: BubbleCellContentView? { get }
|
||||
}
|
||||
|
||||
/// `BaseBubbleCell` allows a bubble cell that inherits from this class to embed and manage the default room message outer views and add an inner content view.
|
||||
@objcMembers
|
||||
class BaseBubbleCell: MXKRoomBubbleTableViewCell, BaseBubbleCellType {
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
import UIKit
|
||||
import Reusable
|
||||
|
||||
/// `BubbleCellContentView` is a container view that display the default room message outer views and enables to manage them. Like pagination title, sender info, read receipts, reactions, encryption status.
|
||||
@objcMembers
|
||||
final class BubbleCellContentView: UIView, NibLoadable {
|
||||
|
||||
|
||||
+1
@@ -16,6 +16,7 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
/// `BubbleCellReactionsDisplayable` is a protocol indicating that a cell support displaying reactions.
|
||||
@objc protocol BubbleCellReactionsDisplayable {
|
||||
func addReactionsView(_ reactionsView: UIView)
|
||||
func removeReactionsView()
|
||||
|
||||
+1
@@ -16,6 +16,7 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
/// `BubbleCellReadReceiptsDisplayable` is a protocol indicating that a cell support displaying read receipts.
|
||||
@objc protocol BubbleCellReadReceiptsDisplayable {
|
||||
func addReadReceiptsView(_ readReceiptsView: UIView)
|
||||
func removeReadReceiptsView()
|
||||
|
||||
@@ -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