Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Virtual ports in Quartz Composer plug-ins



The problem is that this string constant for virtual port type is unknown
would have to be exposed by Apple. Without that string provided by Apple you
can try and guess what it might be.
NSLog() shows all type constants are the strings exactly as their constant
names, ie:
NSString *QCPortTypeString = @"QCPortTypeString";


Rather than guessing the string (keyspace is infinite ;) I'd recommend 'stringsing' the framework.

in terminal:
cat /System/Library/Frameworks/Quartz.framework/Frameworks/ QuartzComposer.framework/QuartzComposer | strings | grep QCPortType | less


You'll find that there are no string constant for Virtual ports. Or, if there are, they don't follow the "QCPortType_blahblah_" convention that the others do.

I don't think you can trick the input port creator to create virtual ports by picking the correct string.

--
[ christopher wright ]
email@hidden
http://kineme.net/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Virtual ports in Quartz Composer plug-ins (From: Tomasz Kukielka <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.