Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a better way to export quartz than QCTV's way.



Nope, I have only known cocoa for 2 months. I am a little shaky on when to release some things. I will look into it, but I would like to know why it is different when I put it in a for loop. Does a timer handle this for you? I think understanding this would help me out.

-Sam


On Jul 12, 2007, at 12:52 PM, Marc Epard wrote:

On Jul 12, 2007, at 11:22 AM, Sam McDonald wrote:

I took the code out of a timer, and instead ran through a for loop that went through each time. This method caused my computer to pretty much crash after 20 seconds. Can you think of any reason why this happened. I basically took the exact stuff in the renderTimer and took it through a for loop. To keep the project going, I reverted back to my real-time exporting.

Did you handle pending autoreleases each time through the loop? (I'd have to look up exactly how. Maybe make your own autorelease pool.)


-Marc


_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Is there a better way to export quartz than QCTV's way. (From: Pierre-Olivier Latour <email@hidden>)
 >Re: Is there a better way to export quartz than QCTV's way. (From: Sam McDonald <email@hidden>)
 >Re: Is there a better way to export quartz than QCTV's way. (From: Marc Epard <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.