title: Make a firstResponder UIView by containing another firstResponder (a UITextView)
body: <p>I have a <code>UIView</code> subclass (<code>MyView</code>) that contains a <code>UITextView</code>. I want <code>MyView</code> to use <code>UITextView</code> for all <code>UIResponder</code> methods like so:</p>
  
  <pre><code>@implementation MyView
  
  - (BOOL)canBecomeFirstResponder {
    return _textView.canBecomeFirstResponder
  }
  - (BOOL)becomeFirstResponder {
    return [_textView becomeFirstResponder];
  }
  - (BOOL)canResignFirstResponder {
    return [_textView canResignFirstResponder];
  }
  - (BOOL)resignFirstResponder {
    // UIResponder documentation says [super resignFirstResponder]
    // must be called somewhere in this method
    BOOL superResignedFirstResponder = [super resignFirstResponder];
    if (superResignedFirstResponder) {
      return [_textView resignFirstResponder];
    } else {
      return NO;
    }
  }
  - (BOOL)isFirstResponder {
    return [_textView isFirstResponder];
  }
  
  @end
  </code></pre>
  
  <p>However, as I'm reading through <a href="https://developer.apple.com/library/ios/documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/event_delivery_responder_chain/event_delivery_responder_chain.html#//apple_ref/doc/uid/TP40009541-CH4-SW2" rel="nofollow">Apple's Event Delivery: The Responder Chain documentation</a>, I think this may be an incorrect implementation. I can't find any documentation or posts about how to create a <code>UIResponder</code> with another <code>UIResponder</code>.</p>
  
  <p><code>UIKit</code> has a notion of exactly 1 <code>firstResponder</code>, so when <code>MyView</code> handles <code>-becomeFirstResponder</code> and returns <code>YES</code>, it seems reasonable for <code>UIKit</code> to think <code>MyView</code> is the <code>firstResponder</code>. However, since I in turn call <code>-[UITextView becomeFirstResponder]</code> within <code>-[MyView becomeFirstResponder]</code>, one of the two must win and one must lose. Which wins and which loses? If <code>UITextView</code> is the <code>firstResponder</code>, then why should <code>-[MyView isFirstResponder]</code> ever return <code>YES</code>?</p>
  
  <p>Does anyone have any advice? Is my above implementation correct?</p>