CallLogDetailsVC
module provides a tabbed interface to view details of past calls:
Component | Role |
---|---|
CallLogDetailsVC | Main container with segmented control and page view. |
CallLogParticipantsVC | Displays a list of users who participated in the call. |
CallLogHistoryVC | Shows join/leave history entries with timestamps and statuses. |
CallLogRecordingsVC | Lists call recordings with playback actions. |
CallLogDetailsHeaderView | Header view showing call metadata (title, status, duration). |
CallLogUserCell | UITableViewCell for participants, history, and recordings entries. |
CallLogDetailsModel | Data model formatting participants, history, and recordings data. |
CallLogViewModel | Fetches and distributes call log data to the UI components. |
CallLogDetailsVC.swift
Bundles history, participants, and recordings into a single UI flow.
CallLogParticipantsVC.swift
Audits who was present in the call.
CometChatTheme
, CometChatTypography
, and CometChatSpacing
in CallLogUserCell
and CallLogDetailsHeaderView
.CallLogViewModel
to filter by call type (incoming, outgoing, missed).EmptyStateView
in CallLogHistoryVC
for no-history scenarios.scrollViewDidScroll
of CallLogHistoryVC
to fetch more entries.CallLogParticipantsVC
, disable profile navigation if the user is blocked.UIAlertController
on fetch failures; expose error via CallLogViewModel
delegate.CallLogDetailsVC
.CallLogParticipantsVC
display based on call type and participant roles.CallLogDetailsHeaderView
to show titles, call duration, and status icons.Feature | Component / Method | File(s) |
---|---|---|
Show call log details screen | CallLogDetailsVC(call:) | CallLogDetailsVC.swift |
Display participants | CallLogParticipantsVC | CallLogParticipantsVC.swift |
Display history entries | CallLogHistoryVC | CallHistoyTVC.swift , CallLogHistoryVC.swift |
List recordings | CallLogRecordingsVC | CallLogRecordingsVC.swift , CallRecordingTVC.swift |
Header metadata | CallLogDetailsHeaderView | CallLogDetailsHeaderView.swift |
Data handling | CallLogDetailsModel | CallLogDetailsModel.swift |
Data fetching & distribution | CallLogViewModel | CallLogViewModel.swift |