George, I'm not sure that filenames exist for each composition in the QC repository. From my point of view, that would be an opaque detail best kept out of the API user's grasp.
However, you can get the "name" associated with a composition by iterating thru the returned array and grabbing the attribute for name. Something like this... for ( composition in compositions ) { compositionName = [[composition attributes] objectForKey: QCCompositionAttributeNameKey]; // Do various other processing here... [onlyNamesArray addObject: compositionName]; } Disclaimer: Typed in e-mail. Also, you will probably need to check for a nil returned value. regards, douglas On Sep 20, 2012, at 1:17 PM, George Toledo wrote: > If I'm returning an array of objects from the composition repository, ala: > > compositions = [[QCCompositionRepository > sharedCompositionRepository] compositionsWithProtocols:[NSArray > arrayWithObject:QCCompositionProtocolImageFilter] andAttributes:nil]; > > How do I create an array of just the file names as strings? > > Best regards, > George Toledo > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/quartzcomposer-dev/douglas_welton%40earthlink.net > > This email sent to douglas_wel...@earthlink.net
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (Quartzcomposer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com