UIActionSheet(RACSignalSupport) Category Reference
Declared in | UIActionSheet+RACSignalSupport.h UIActionSheet+RACSignalSupport.m |
Instance Methods
rac_buttonClickedSignal
Creates a signal for button clicks on the receiver.
- (RACSignal *)rac_buttonClickedSignal
Discussion
When this method is invoked, the rac_delegateProxy
will become the
receiver’s delegate. Any previous delegate will become the [RACDelegateProxy rac_proxiedDelegate], so that it receives any messages that the proxy doesn’t
know how to handle. Setting the receiver’s delegate
afterward is
considered undefined behavior.
Returns a signal which will send the index of the specific button clicked. The signal will complete when the receiver is deallocated.
Declared In
UIActionSheet+RACSignalSupport.h