Hi,
I've just created a project which is essentially unchanged from the
XCode "Quartz Composer Plug-In" template except that I have:

               // in the interface
               @property double testPort;

               // in the implementation
               @dynamic testPort;

I ran this expecting it to do very little, but at the least have a
port on my custom patch, however when I built and ran the patch was
visible, but the port was not. I thought that QC automagically
retrieves these properties from the ObjC runtime. After calling the
following code in init the port displayed in QC as expected:

               [self addInputPortWithType: QCPortTypeNumber forKey: @"testPort"
withAttributes: nil];

What steps are required to ensure that ports are shown, should I be
calling this in init?

Thanks,
Andrew
 _______________________________________________
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]

Reply via email to