Declared in UIAlertView+RACSignalSupport.h

Tasks

Properties

rac_delegateProxy

@property (nonatomic, strong, readonly) RACDelegateProxy *rac_delegateProxy
Discussion

A delegate proxy which will be set as the receiver’s delegate when any of the methods in this category are used.

Declared In

UIAlertView+RACSignalSupport.h

Instance Methods

rac_buttonClickedSignal

- (RACSignal *)rac_buttonClickedSignal
Discussion

Creates a signal for button clicks on the receiver.

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.

Note that this signal will not send a value when the alert is dismissed programatically.

Returns a signal which will send the index of the specific button clicked. The signal will complete itself when the receiver is deallocated.

Declared In

UIAlertView+RACSignalSupport.h

rac_willDismissSignal

- (RACSignal *)rac_willDismissSignal
Discussion

Creates a signal for dismissal of the receiver.

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 button associated with the dismissal. The signal will complete itself when the receiver is deallocated.

Declared In

UIAlertView+RACSignalSupport.h