• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Quarts composition with empty output keys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Re: Leopard Early Starter Kit - sth worth paying for?
  • Next by Date: Re: Processing Smart Folders
  • Previous by thread: Re: Processing Smart Folders
  • Next by thread: how to get an event (also name the event) when mac(universal i.e. or min 10.3.9 and above) wakes up from sleep mode
  • Index(es):
    • Date
    • Thread