But I guess you mean I can subclass QCRenderer and create a method
like
[[QCRenderer alloc] initWithOpenGLContext:_openGLContext
pixelFormat:_format encryptedfile:[[NSBundle mainBundle]
pathForResource:@"MyComp" ofType:@"qtz"]];
actually, it's quite a lot easier; no need for subclassing
-QCRenderer needs a file, so give it a file:
I'm sure there are plenty of (NSData*)encrypt / (NSData*)decrypt
algorythms out there!
maybe there's an QCRenderer initializer for initWithData: ?
would be easier, because otherwise you'd had to create a temp file by
code which someone already mentioned earlier...
I have to mention, that I dislike the Idea of filing a request on
source-protecting methods.
In general this makes the thing more slowly (taking time to decrypt),
less open (less examples and things to learn from) and less fun!
In fact, that's the only reason I'm answering...
;)
Regards,
Michael
btw: if you're just playing the composition, have you already tried
to make a *.mov out of it?
It's hard opening a *.mov in QC :D