Quarts composition with empty output keys
Quarts composition with empty output keys
- Subject: Quarts composition with empty output keys
- From: Renaud Boisjoly <email@hidden>
- Date: Thu, 26 Oct 2006 02:57:30 -0400
Hi all
As I am trying to integrate a Quarts COmposition in my Cocoa app, I
load th ecomposition in the appropriate QCView and it displays fine.
I can get the liust of output Keys without problem either, but if I
immediately try to get a value for a specific output key, it comes
out empty. If I call my method a second time, then there is a value.
Is there a delay before an output key can return a value or is there
a preferred way to wait for the composition to be able to return the
value somehow?
I'm totally confused here...
[circleGraphic loadCompositionFromFile:pointerPath];
NSArray *allOutputKeys = [NSArray arrayWithArray:[circleGraphic
outputKeys]];
[circleGraphic startRendering];
NSLog(@"Output keys %@",[circleGraphic outputKeys]);
NSLog(@"Output key value:%@",[circleGraphic
valueForOutputKey:@"customName1"]);
result in console:
2006-10-25 20:18:02.841 TestApp[1217] Output keys (
customName1,
)
2006-10-25 20:18:02.841 TestApp[1217] Output key value:
Notice there is nothing next to Output key
Thanks!
- Renaud
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden