ScannerApp-Swift Documentation

Class Library​Table​View​Controller

class LibraryTableViewController: UITableViewController  

UI class for gallery activity

%107 LibraryTableViewController LibraryTableViewController UITableViewController UITableViewController LibraryTableViewController->UITableViewController LibraryTableViewCellDelegate LibraryTableViewCellDelegate LibraryTableViewController->LibraryTableViewCellDelegate ScanTableViewCellDelegate ScanTableViewCellDelegate LibraryTableViewController->ScanTableViewCellDelegate

Conforms To

ScanTableViewCellDelegate
ScanTableViewCellDelegate
UITableViewController
UITableViewController

Methods

view​Did​Load()

override func viewDidLoad()  

prepare(for:​sender:​)

override func prepare(for segue: UIStoryboardSegue, sender: Any?)  

/ if let viewController = storyboard?.instantiateViewController(identifier: "RecordingDetailViewController") as? RecordingDetailViewController { / viewController.recordingUrl = selectedRecordingUrl / navigationController?.pushViewController(viewController, animated: true) / }

table​View(_:​number​OfRows​InSection:​)

override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int  

table​View(_:​cell​For​Row​At:​)

override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell  

table​View(_:​height​For​Row​At:​)

override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat  

delete​Success(recording​Id:​)

func deleteSuccess(recordingId: String)  

reload files after files are deleted successfully

delete​Success(recording​Id:​)

func deleteSuccess(recordingId: String)  

reload files after files are deleted successfully

delete​Failed(recording​Id:​)

func deleteFailed(recordingId: String)  

display a toast when files are not deleted due to errors

delete​Failed(recording​Id:​)

func deleteFailed(recordingId: String)  

display a toast when files are not deleted due to errors

did​Completed​Upload​With​Error(recording​Id:​)

func didCompletedUploadWithError(recordingId: String)  

display a toast message when files did not upload to server due to errors

did​Completed​Upload​With​Error(recording​Id:​)

func didCompletedUploadWithError(recordingId: String)  

display a toast message when files did not upload to server due to errors

did​Completed​Upload​Without​Error(recording​Id:​)

func didCompletedUploadWithoutError(recordingId: String)  

display a toast message when files are uploaded to server successfully

did​Completed​Upload​Without​Error(recording​Id:​)

func didCompletedUploadWithoutError(recordingId: String)  

display a toast message when files are uploaded to server successfully

view​Did​Load()

override func viewDidLoad()  

table​View(_:​number​OfRows​InSection:​)

override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int  

table​View(_:​cell​For​Row​At:​)

override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell  

table​View(_:​height​For​Row​At:​)

override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat  

delete​Success(file​Id:​)

func deleteSuccess(fileId: String)  

reload files after files are deleted successfully

delete​Success(file​Id:​)

func deleteSuccess(fileId: String)  

reload files after files are deleted successfully

delete​Failed(file​Id:​)

func deleteFailed(fileId: String)  

display a toast when files are not deleted due to errors

delete​Failed(file​Id:​)

func deleteFailed(fileId: String)  

display a toast when files are not deleted due to errors

did​Completed​Upload​With​Error(file​Id:​)

func didCompletedUploadWithError(fileId: String)  

display a toast message when files did not upload to server due to errors

did​Completed​Upload​With​Error(file​Id:​)

func didCompletedUploadWithError(fileId: String)  

display a toast message when files did not upload to server due to errors

did​Completed​Upload​Without​Error(file​Id:​)

func didCompletedUploadWithoutError(fileId: String)  

display a toast message when files are uploaded to server successfully

did​Completed​Upload​Without​Error(file​Id:​)

func didCompletedUploadWithoutError(fileId: String)  

display a toast message when files are uploaded to server successfully