LegacyTagsManager
final class LegacyTagsManager : SubscriptionManager<TagsEvent>
extension LegacyTagsManager: Tags
Manager for the tag collection.
-
Construct new manager
Declaration
Swift
init(_ consolidatedConfigFile: ConsolidatedConfigFile)Parameters
consolidatedConfigFilethe configuration file that holds the tags to manage
-
Indicator that the collection of tags has been restored
Declaration
Swift
var restored: Bool { get } -
True if the collection is empty
Declaration
Swift
var isEmpty: Bool { get } -
The number of tags in the collection
Declaration
Swift
var count: Int { get } -
Declaration
Swift
func getBy(index: Int) -> LegacyTag -
Declaration
Swift
func append(_ tag: LegacyTag) -> Int -
Declaration
Swift
func insert(_ tag: LegacyTag, at index: Int) -
Declaration
Swift
func remove(at index: Int) -> LegacyTag -
Declaration
Swift
func rename(_ index: Int, name: String) -
Undocumented
Declaration
Swift
func validate() -
Default collection that is used when first running the app
Declaration
Swift
static var defaultCollection: LegacyTagCollection { get }
View on GitHub
LegacyTagsManager Class Reference