Add slide in/out transition for Add Feed / Add Folder.

This commit is contained in:
Maurice Parker
2019-11-16 14:19:51 -06:00
parent 5ce5175bc0
commit 75d00f4692
4 changed files with 77 additions and 39 deletions

View File

@@ -76,8 +76,22 @@ class AddWebFeedFolderViewController: UITableViewController {
let cell = tableView.cellForRow(at: indexPath)
cell?.accessoryType = .checkmark
delegate?.didSelect(container: container)
navigationController?.popViewController(animated: true)
dismiss()
}
}
// MARK: Actions
@IBAction func cancel(_ sender: Any) {
dismiss()
}
}
private extension AddWebFeedFolderViewController {
func dismiss() {
dismiss(animated: true)
}
}