//
|
// UIButton+RACCommandSupport.h
|
// ReactiveCocoa
|
//
|
// Created by Ash Furrow on 2013-06-06.
|
// Copyright (c) 2013 GitHub, Inc. All rights reserved.
|
//
|
|
#import <UIKit/UIKit.h>
|
|
@class RACCommand;
|
|
@interface UIButton (RACCommandSupport)
|
|
/// Sets the button's command. When the button is clicked, the command is
|
/// executed with the sender of the event. The button's enabledness is bound
|
/// to the command's `canExecute`.
|
@property (nonatomic, strong) RACCommand *rac_command;
|
|
@end
|