인사말 !!NSTimer 선택기 질문
내가 예를 들어 다음과 같은 기능을 한 : 나는 dropBrick
기능 이상 scheduledTimerWithTimeInterval
을 할 경우는, 가능하다면 궁금
-(void) doMainBrick
{
NSTimer * timer = [NSTimer scheduledTimerWithTimeInterval:0.1
target:self
selector:@selector(dropBrick:)
userInfo:nil
repeats:YES];
}
-(void) dropBrick:(NSTimer*) timex
{
//deal something
[self SwitchBrick];
}
(가 0.1 위 내 샘플에), 다른 통화 일 dropBrick
다시 (0.1 초마다 화재가 발생합니다 .Brick, 반복 : 예)? 또는 무엇이든 상관없이 NSTimer
은 마지막 dropBrick 종료를 기다린 다음 해고됩니까?