티스토리 뷰
일단 객체에게 해당 메시지가 존재하는지 물어본후 실행
if ([viewController.view respondsToSelector:@selector(mySet)]) {
[viewController.view performSelector:@selector(mySet)];
}
if ([viewController.view respondsToSelector:@selector(mySet)]) {
[viewController.view performSelector:@selector(mySet)];
}
'나름 프로그래밍? > Objective-C' 카테고리의 다른 글
ApplicationDelegate 참조 얻어오기 (0) | 2010.05.12 |
---|---|
NSNotification (0) | 2010.05.07 |
현재 시각 가져오기 (0) | 2010.04.22 |
CATransition (0) | 2010.04.22 |
UIImageView (0) | 2010.04.21 |