SXFPSMeter

type:
extension
author:
Malcolm
description:
A quick and dirty FPS meter.
lastupdate:
2011-04-11
compatible:
v1.1
tag:
FPS, frames per second, meter
homepage:
https://gist.github.com/893868
download:
https://gist.github.com/893868/download

Usage

A quick and dirty FPS meter for sparrow so you don't have to rely on NSLog.

SXFPSMeter *meter = [[SXFPSMeter alloc] initWithText:@""];
[self addChild:meter];
Sparrow 2.0 comes with a similar class built in: just enable the “showStats” property on the Sparrow view controller.

Changelog

Source Code

Discussion

No comments so far. Feel free to edit this part of the page.