Settings: refactor controller and cell
Each settings item is now of a designated type; the cell simply displays each item as presented without any special logic for each. This new pattern also allows for the removal of all logic that relied on a given settings item's position for its behavior. Now, settings items can be added or removed at will, without affecting the others. There should be no user-facing changes in this branch; if there are any, they are regressions.
parent
25311f55
No related branches found
No related tags found
Showing
- .periphery.yml 7 additions, 0 deletions.periphery.yml
- Sources/Helpers/KeychainCoordinator.swift 2 additions, 2 deletionsSources/Helpers/KeychainCoordinator.swift
- Sources/Settings/Controller/PasscodeLockController.swift 1 addition, 1 deletionSources/Settings/Controller/PasscodeLockController.swift
- Sources/Settings/Controller/SettingsController.swift 104 additions, 258 deletionsSources/Settings/Controller/SettingsController.swift
- Sources/Settings/Model/SettingsSection.swift 669 additions, 722 deletionsSources/Settings/Model/SettingsSection.swift
- Sources/Settings/View/SettingsCell.swift 92 additions, 83 deletionsSources/Settings/View/SettingsCell.swift
Loading
Please register or sign in to comment