- (BOOL) compositionParameterView:(QCCompositionParameterView *)parameterView shouldDisplayParameterWithKey:(NSString *)portKey attributes:(NSDictionary *)portAttributes;
The portAttributes dictionary isn't really documented (http://developer.apple.com/documentation/Cocoa/Reference/QCCompositionParameterViewDelegateProtocolRef/Introduction/Introduction.html ):
portAttributesA dictionary of the attributes that you want to display in the user interface.
Inside, it looks like we can inspect certain keys to determine which kind of port the port is (number, boolean, index, string, structure, color, image, virtual, etc) -- is this a reliable way to inspect ports for their types (and sometimes ranges)? or is that a Bad Idea (tm)? Are the attributes mutable? The method signature obviously says it's not, but the documentation implies that the delegate can cook it to do cool things potentially, with the whole "you want" phrase. Additionally, there doesn't seem to be an approved way to discovering/ modifying the Default Value of said ports -- is this intentional, an oversight, or simply a Bad Idea that I shouldn't consider anyway?
Sorry if this is a silly e-mail -- flu (or a convincing stand-in) is making me unwell :(
-- [ christopher wright ] [email protected] http://kineme.net/
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [email protected]

