Use YAML library to parse password files

This commit is contained in:
Danny Moesch 2018-02-26 16:53:39 +01:00 committed by Bob Sun
parent ab7e332bfb
commit caa5ce77a3
5 changed files with 42 additions and 17 deletions

View file

@ -28,7 +28,7 @@ class PasswordEditorTableViewController: UITableViewController, FillPasswordTabl
private var navigationItemTitle: String?
private var sectionHeaderTitles = ["name", "password", "additions",""].map {$0.uppercased()}
private var sectionFooterTitles = ["", "", "Use \"key: value\" format for additional fields.", ""]
private var sectionFooterTitles = ["", "", "Use YAML format for additional fields.", ""]
private let nameSection = 0
private let passwordSection = 1
private let additionsSection = 2