Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 4554f2c65a
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (20 sloc) 0.604 kB
//
// UIControl+SSToolkitAdditions.h
// SSToolkit
//
// Created by Sam Soffes on 4/19/10.
// Copyright 2010-2011 Sam Soffes. All rights reserved.
//
/**
Provides extensions to `UIControl` for various common tasks.
*/
@interface UIControl (SSToolkitAdditions)
/**
Removes all targets and actions for all events from an internal dispatch table.
*/
- (void)removeAllTargets;
/**
Sets exclusive target for specified event, all previous targets will be removed, usefull for table cells etc
*/
- (void)setTarget:(id)target action:(SEL)action forControlEvents:(UIControlEvents)controlEvents;
@end
Jump to Line
Something went wrong with that request. Please try again.