CPTimer implementation
Reported by Nick Takayama | October 22nd, 2008 @ 04:59 AM | in 0.6
This patch implements CPTimer and all the methods from NSTimer.
It affect CPRunLoop by the addition of an array of timers that are unaware of modes. As per documentation for timers, they do not fire unless attached to a runloop.
Have added the CPTimer into Foundation.j
Also, I have, as a proof of concept, fixed the code in CPAnimation that said 'THIS SHOULD BE A CPTIMER'. CPAnimations continue to work in my sample apps.
Comments and changes to this ticket
-
Nick Takayama October 27th, 2008 @ 05:12 AM
please note the updated patch does not modify CPAnimation.j anymore, in case that is a sticking point preventing it from being included.
the updated patch now only modifies CPRunLoop.j , Foundation.j (to import CPTimer) and adds CPTimer.j
-
admin (at 280north) November 18th, 2008 @ 12:10 AM
- State changed from new to resolved
(from [4c8d7b0f1ccbbf98f70938fb5192fc94dde3b255]) Timers.
[#116 state:resolved]
Reviewed by ross and me. http://github.com/280north/cappu...
-
Francisco Tolmasky November 18th, 2008 @ 12:12 AM
- Milestone set to 0.6
- State changed from resolved to new
- Assigned user set to Francisco Tolmasky
Had to make a bunch of changes, separate modes are still not 100%, but was able to replace the timers in capp.
-
Francisco Tolmasky November 18th, 2008 @ 12:12 AM
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.