Timer类是用来执行任务的类,定时器
scheduleAtFixedRate模式可以用,在这个模式下,Timer会尽量的让任务在一个固定的频率下运行。
参考:http://swiftlet.net/archives/645