Instance Propertyswift 6.2.4Foundation
set
var set: Set<AnyHashable> { get }var set: Set<AnyHashable> { get }import Foundationclass NSOrderedSet@frozen struct Set<Element> where Element : HashableAn unordered collection of unique elements.
@frozen struct AnyHashableA type-erased hashable value.
override convenience init() convenience init(array: [Any]) convenience init(array set: [Any], copyItems flag: Bool) convenience init(array set: [Any], range: NSRange, copyItems flag: Bool) required convenience init(arrayLiteral elements: Any...) required convenience init?(coder aDecoder: NSCoder) convenience init(object: Any) convenience init(objects elements: Any...) init(objects: UnsafePointer<AnyObject>?, count cnt: Int) convenience init(orderedSet set: NSOrderedSet) convenience init(orderedSet set: NSOrderedSet, copyItems flag: Bool) convenience init(orderedSet set: NSOrderedSet, range: NSRange, copyItems flag: Bool) convenience init(set: Set<AnyHashable>) convenience init(set: Set<AnyHashable>, copyItems flag: Bool) static var supportsSecureCoding: Bool { get }var array: [Any] { get }var count: Int { get }var customMirror: Mirror { get }override var description: String { get }var firstObject: Any? { get }var lastObject: Any? { get }var reversed: NSOrderedSet { get }subscript(idx: Int) -> Any { get } func contains(_ object: Any) -> Bool override func copy() -> Any func copy(with zone: NSZone? = nil) -> Any func description(withLocale locale: Locale?) -> String func description(withLocale locale: Locale?, indent level: Int) -> String func encode(with aCoder: NSCoder) func enumerateObjects(_ block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Void) func enumerateObjects(at s: IndexSet, options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Void) func enumerateObjects(options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Void) func filtered(using predicate: NSPredicate) -> NSOrderedSet func index(_ opts: NSEnumerationOptions = [], ofObjectPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int func index(of object: Any) -> Int func index(of object: Any, inSortedRange range: NSRange, options opts: NSBinarySearchingOptions = [], usingComparator cmp: (Any, Any) -> ComparisonResult) -> Int func index(ofObjectAt s: IndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int func index(ofObjectPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> Int func indexes(ofObjectsAt s: IndexSet, options opts: NSEnumerationOptions = [], passingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet func indexes(ofObjectsPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet func indexes(options opts: NSEnumerationOptions = [], ofObjectsPassingTest predicate: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Bool) -> IndexSet func intersects(_ other: NSOrderedSet) -> Bool func intersectsSet(_ set: Set<AnyHashable>) -> Bool override func isEqual(_ object: Any?) -> Bool func isEqual(to other: NSOrderedSet) -> Bool func isSubset(of other: NSOrderedSet) -> Bool func isSubset(of set: Set<AnyHashable>) -> Bool func makeIterator() -> NSOrderedSet.Iterator Return a generator over the elements of this sequence.
override func mutableCopy() -> Any func mutableCopy(with zone: NSZone? = nil) -> Any func object(at idx: Int) -> Any func objectEnumerator() -> NSEnumerator func objects(at indexes: IndexSet) -> [Any] Returns an array with the objects at the specified indexes in the ordered set.
func reverseObjectEnumerator() -> NSEnumerator func sortedArray(comparator cmptr: (Any, Any) -> ComparisonResult) -> [Any] func sortedArray(options opts: NSSortOptions = [], usingComparator cmptr: (Any, Any) -> ComparisonResult) -> [Any] func sortedArray(using sortDescriptors: [NSSortDescriptor]) -> [Any] typealias Iterator = NSEnumerator.Iterator