Im still having problems with this. When I try to read the port I get a message 
that there is no output named "myportname"

I tried to register for a notification with

- (void) QCViewDidStartRenderingNotification:(NSNotification*)notification
{
        NSLog(@"QCViewDidStartRenderingNotification");
}

but I never get the notification.  I also attempted to read the port inside 
        
if ([visView isRendering]) { 
        groupArray = [visView valueForOutputKey:@"groupList" ofType: 
@"NSArray"];

but it throws an exception. So I think the composition is rendering but the 
port is just not available yet. How can I test for the availability of a port 
in a qcView?

Roger Jones


On May 10, 2010, at 1:39 PM, Christopher Wright wrote:

>> But that doesn't seem to work either. Is there anything unusual about the 
>> output from a queue patch?  Should I be using the "ofType" argument? Is 
>> there example code anywhere that shows how to send structure ports into 
>> NSDictionaries or NSArrays? I'm stumped.
> 
> 
> Have you rendered the view?  Rendering is required to evaluate the 
> composition (and thus load/parse the xml).  Are you getting any console 
> messages?  Can you supply a sample composition + xcode app that doesn't do 
> what you expect?
> 
> The queue provides the same type of data that the Parsed XML output does if 
> published, so they should work similarly.
> 
> --
> Christopher Wright
> [email protected]
> 
> 
> 

 _______________________________________________
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