Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Threema/Threema/Chats/ChatView/   (Social Medium ©)  Datei vom 26.9.2026 mit Größe 843 B image not shown  

Quelle  ChatViewScrollState.swift   Sprache: JAVA

 

import Foundation

/// Contains the scroll state that should be persisted between `willApplySnapshot(currentDoesIncludeNewestMessage:)` and
/// `didApplySnapshot(delegateScrollCompletion:)` of the table view in the ChatViewController
///
/// In the future this could also contain variables like `isApplyingSnapshot`, `isDragging` etc.
struct ChatViewScrollState {
    /// The rectangle of an arbitrary cell that is rendered on screen / whose exact position is known before and after
    /// the snapshot has been applied
    /// Currently the newest visible cell is used
    var cellRect: CGRect
    /// Item Identifier for the cell whose rect we have used above
    var cellType: ChatViewDataSource.CellType
    /// The y value of the `contentOffset` in `willApplySnapshot(currentDoesIncludeNewestMessage:)`
    var contentOffsetY: CGFloat
}

Messung
CHZG
8810010096

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover


Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.