IOS-664 tableViewUpdate -> TableViewUpdate
authorDirk Zimmermann <dirk@pep-project.org>
Wed, 23 Aug 2017 10:54:10 +0200
changeset 281891e41e9e4b4f
parent 2817 65a41de96654
child 2819 3ae05c9e98ef
child 2836 be6f28c21688
IOS-664 tableViewUpdate -> TableViewUpdate
pEpForiOS/UI/EmailDisplay/EmailListViewController.swift
pEpForiOS/UI/EmailDisplay/EmailListViewModel.swift
pEpForiOS/UI/Util/UITableView+Extension.swift
     1.1 --- a/pEpForiOS/UI/EmailDisplay/EmailListViewController.swift	Tue Aug 22 17:45:53 2017 +0200
     1.2 +++ b/pEpForiOS/UI/EmailDisplay/EmailListViewController.swift	Wed Aug 23 10:54:10 2017 +0200
     1.3 @@ -502,7 +502,7 @@
     1.4      }
     1.5  }
     1.6  
     1.7 -extension EmailListViewController: tableViewUpdate {
     1.8 +extension EmailListViewController: TableViewUpdate {
     1.9      func updateView() {
    1.10          self.tableView.reloadData()
    1.11      }
     2.1 --- a/pEpForiOS/UI/EmailDisplay/EmailListViewModel.swift	Tue Aug 22 17:45:53 2017 +0200
     2.2 +++ b/pEpForiOS/UI/EmailDisplay/EmailListViewModel.swift	Wed Aug 23 10:54:10 2017 +0200
     2.3 @@ -14,13 +14,13 @@
     2.4  
     2.5      var folderToShow: Folder?
     2.6      let cellsInUse = NSCache<NSString, EmailListViewCell>()
     2.7 -    var delegate : tableViewUpdate?
     2.8 +    var delegate : TableViewUpdate?
     2.9  
    2.10      var filterEnabled = false
    2.11  
    2.12      var enabledFilters : Filter?
    2.13  
    2.14 -    init(config: EmailListConfig?, delegate: tableViewUpdate) {
    2.15 +    init(config: EmailListConfig?, delegate: TableViewUpdate) {
    2.16          //MessageModelConfig.messageFolderDelegate = self
    2.17          folderToShow = config?.folder
    2.18          self.delegate = delegate
     3.1 --- a/pEpForiOS/UI/Util/UITableView+Extension.swift	Tue Aug 22 17:45:53 2017 +0200
     3.2 +++ b/pEpForiOS/UI/Util/UITableView+Extension.swift	Wed Aug 23 10:54:10 2017 +0200
     3.3 @@ -24,6 +24,6 @@
     3.4      }
     3.5  }
     3.6  
     3.7 -protocol tableViewUpdate {
     3.8 -        func updateView()
     3.9 +protocol TableViewUpdate {
    3.10 +    func updateView()
    3.11  }