Skip to main content

Professional List

Professional List

Messenger view controller#

The only view you must integrate inside you app is the professional list. Consists in a view that shows a list of all professionals available for the current authenticated user and allows access to chats and professional profiles.

Once we initialized the SDK and authenticated the user, we can retrieve the MeetingLawyers UI using the following method:

static func professionalListViewController(delegate: ProfessionalListOutputType?) -> UINavigationController?

Method parameters have been overloaded with default values. So we can invoke the list of doctors by adding the following call:

ViewController.swift
[...]
if let messenger = MeetingLawyersApp.professionalListViewController(delegate: self) {
self.present(messenger, animated: true)
}
[...]

Next steps#