Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

CPTimer implementation

#116

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.

Reported by Nick Takayama · October 22nd, 2008 @ 04:59 AM

State: resolved
Milestone: 0.6
Assigned to: Francisco Tolmasky Francisco Tolmasky

Activity

  1. Nick Takayama
  2. Nick Takayama
    Nick Takayama

    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

    October 27th, 2008 @ 05:12 AM

  3. Francisco Tolmasky
    Francisco Tolmasky

    im gonna try to get this today

    October 27th, 2008 @ 12:18 PM

  4. Ross Boucher
  5. admin (at 280north)
    admin (at 280north)
    • State changed from new to resolved

    (from [4c8d7b0f1ccbbf98f70938fb5192fc94dde3b255]) Timers.

    [#116 CPTimer implementation state:resolved]

    Reviewed by ross and me. http://github.com/280north/cappu...

    November 18th, 2008 @ 12:10 AM

  6. Francisco Tolmasky
    Francisco Tolmasky
    • 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.

    November 18th, 2008 @ 12:12 AM

  7. Francisco Tolmasky
    Francisco Tolmasky
    • State changed from new to resolved

    November 18th, 2008 @ 12:12 AM

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.