![]() |
Diffusion Apple API 6.11.5
Unified Client Library for iOS, tvOS and OS X / macOS
|
Base class for objects offering a selection of predefined constant values.
Classes inheriting from this class share more in common with Java's enum
type than they do with C's enum
(even using Core Foundation's NS_ENUM
macro) in that they are object-based. Benefits of this include:
nil
in a meaningful way - e.g. to indicate 'not set'.description
method to aid logging clarity during debug sessions.Class Methods | |
(NSSet< PTDiffusionEnumeration * > *) | + elements |
Instance Methods | |
(BOOL) | - isEqualToEnumeration: |
+ (NSSet< PTDiffusionEnumeration * > *) elements |
Returns the constant values offered by this enumeration.
- (BOOL) isEqualToEnumeration: | (nullable PTDiffusionEnumeration *) | enumeration |
Compares the receiver to the given enumeration.
enumeration | The enumeration object with which to compare the receiver. |
YES
if the enumeration is equal to the receiver, otherwise NO
.