PYMIDIEndpointSet

Inherits from:
NSObject
Conforms to:
NSObject (NSObject)
Declared in:
PYMIDI/PYMIDIEndpointSet.h

Class Description

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.

Method Types

Creating temporary endpoint sets
endpointSetWithArray:
Initializing newly allocated endpoint sets
initWithEndpointArray:
Searching endpoint sets
endpointWithDescriptor:

Class Methods

endpointSetWithArray:

+ (id)endpointSetWithArray:(NSArray*)endpointArray

Returns an endpoint set containing the endpoints in endpointArray.


Instance Methods

initWithEndpointArray:

- (id)initWithEndpointArray:(NSArray*)endpointArray

Initializes the receiver, a newly allocated PYMIDIEndpointSet to contain the endpoint in endpointArray.


endpointWithDescriptor:

- (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.