mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Better document the various protocols and classes involved in dealing with room timelines.
This commit is contained in:
committed by
Stefan Ceriu
parent
972084aaf7
commit
29cfcb0b85
@@ -33,6 +33,11 @@ enum TimelineControllerError: Error {
|
||||
case eventNotFound
|
||||
}
|
||||
|
||||
/// This protocol is a high level abstraction on top of the ``TimelineProxyProtocol``
|
||||
/// and its ``TimelineItemProviderProtocol`` that offers an UI layer oriented interface for dealing
|
||||
/// with Room timelines.
|
||||
/// It, for example, permits switching from a live timeline to an event focused one, building view specific
|
||||
/// timeline items, grouping together state events, donating intents to the larger system etc.
|
||||
@MainActor
|
||||
protocol TimelineControllerProtocol {
|
||||
var roomID: String { get }
|
||||
|
||||
Reference in New Issue
Block a user