You will need to implement it yourself using NSTimer. You will be quoted through your characters textLabel.text, taking one from the front and adding it back. To make this easy, you can use NSMutableStringthat you could manipulate with substringWithRange: deleteCharactersInRange:and appendString, and then after <character manipulation> set textLabel.text:
- (void)fireTimer
{
NSMutableString *mutableText = [NSMutableString stringWithString: textLabel.text];
NSString *firstCharText = [mutableText substringWithRange: NSMakeRange(0, 1)];
[mutableText deleteCharactersInRange: NSMakeRange(0, 1)];
[mutableText appendString: firstCharText];
textLabel.text = mutableText;
}
source
share