Replace -[sleepForNMilliseconds:] with -[sleepForTimeInterval:].