Declared in UITextView+RACSignalSupport.h

Tasks

  •   rac_delegateProxy

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

    property
  • – rac_textSignal

    Creates a signal for the text of the receiver.

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

UITextView+RACSignalSupport.h

Instance Methods

rac_textSignal

- (RACSignal *)rac_textSignal
Discussion

Creates a signal for the text 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 current text upon subscription, then again whenever the receiver’s text is changed. The signal will complete when the receiver is deallocated.

Declared In

UITextView+RACSignalSupport.h