- Inherits from:
- NSObject
- Conforms to:
- NSObject (NSObject)
- Declared in:
- PYMIDI/PYMIDIEndpointSet.h
The PYMIDIEndpointSet class allows you to search a set of PYMIDIEndpoints for an endpoint matching a particular descriptor.
It can also be used as a delegate for NSKeyedArchiver and NSKeyedUnarchiver objects. When used like this, any endpoint in the set will be archived as by descriptor rather than archived directly. See Archiving Endpoints for more information.
Creating temporary endpoint setsInitializing newly allocated endpoint sets
- endpointSetWithArray:
Searching endpoint sets
- initWithEndpointArray:
- endpointWithDescriptor:
+ (id)endpointSetWithArray:(NSArray*)endpointArray
Returns an endpoint set containing the endpoints in endpointArray.
- (id)initWithEndpointArray:(NSArray*)endpointArray
Initializes the receiver, a newly allocated PYMIDIEndpointSet to contain the endpoint in endpointArray.
- (PYMIDIEndpoint*)endpointWithDescriptor:(PYMIDIEndpointDescriptor*)descriptor
Searches the receiver for an endpoint matching the given descriptor and returns the matching endpoint if one is found, or nil otherwise.