EMEnumSet
Objective-C
@interface EMEnumSet : NSObject
Swift
class EMEnumSet : NSObject
An interface representing a collection of enum type data.
-
Create and Initialize an EnumSet object.
Since
2.6Declaration
Objective-C
- (void)createEnumSet:(CFMutableSetRef)set;Swift
func createEnumSet(_ set: CFMutableSet!)Parameters
setThe CFMutableSet object containing all capabilities of a token.
-
Checks the existence of a specific item in the set.
Since
2.6Declaration
Objective-C
- (BOOL)contains:(CFIndex)item;Swift
func contains(_ item: CFIndex) -> BoolParameters
itemThe item to be checked.
Return Value
YESif the EnumSet contains that item and otherwiseNOwill be returned. -
Counts the number of capabilities in the EnumSet.
Since
2.6Declaration
Objective-C
- (CFIndex)count;Swift
func count() -> CFIndexReturn Value
The number of items in the set.
EMEnumSet Class Reference