Deprecate Nexus.knownUniqueComponentTypes

This commit is contained in:
Christian Treffs 2020-07-09 22:41:27 +02:00
parent 462eb09cf0
commit 295063daa8
No known key found for this signature in database
GPG Key ID: 49A4B4B460BE3ED4
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ public final class Nexus {
childrenByParentEntity.removeAll()
}
@available(swift, deprecated: 0.11.2)
public static var knownUniqueComponentTypes: Set<ComponentIdentifier> {
Set<ComponentIdentifier>(stableComponentIdentifierMap.keys.map { ComponentIdentifier(hash: $0) })
}