Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 441 Bytes
//
// UIControl+SSToolkitAdditions.m
// SSToolkit
//
// Created by Sam Soffes on 4/19/10.
// Copyright 2010-2011 Sam Soffes. All rights reserved.
//
#import "UIControl+SSToolkitAdditions.h"
@implementation UIControl (SSToolkitAdditions)
- (void)removeAllTargets {
[[self allTargets] enumerateObjectsUsingBlock:^(id object, BOOL *stop) {
[self removeTarget:object action:NULL forControlEvents:UIControlEventAllEvents];
}];
}
@end
Something went wrong with that request. Please try again.