• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTextView and -becomeFirstResponder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView and -becomeFirstResponder


  • Subject: Re: NSTextView and -becomeFirstResponder
  • From: Jim McGowan <email@hidden>
  • Date: Thu, 23 Feb 2012 09:10:58 +0800

On 23 Feb 2012, at 05:47, Kyle Sluder <email@hidden> wrote:

> On Sun, Feb 19, 2012 at 9:29 PM, Jim McGowan <email@hidden> wrote:
>> However, I'm a bit confused by the docs.  -becomeFirstResponder is marked as being deprecated for NSTextView, but not deprecated in its superclass NSResponder.  The NSTextView docs for this method reads:
>>
>> "Informs the receiver that it’s becoming the first responder. (Available in Mac OS X v10.0 through Mac OS X v10.4. Use the NSWindowmethod makeFirstResponder: to make a text view the first responder.)"
>
> I suspect what actually happened is that
> -{become,resign}FirstResponder were removed from the header file to
> reduce the temptation to call them directly rather than go through
> -[NSWindow makeFirstResponder:]. The "deprecation" is just how the doc
> generation tools interpreted their removal.

Yeah, that sounds plausible. I'll file the bug and see if anything comes of it.

Jim
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >NSTextView and -becomeFirstResponder (From: Jim McGowan <email@hidden>)
 >Re: NSTextView and -becomeFirstResponder (From: Kyle Sluder <email@hidden>)

  • Prev by Date: text field question
  • Next by Date: Re: NSTextView and -becomeFirstResponder
  • Previous by thread: Re: NSTextView and -becomeFirstResponder
  • Next by thread: Re: NSTextView and -becomeFirstResponder
  • Index(es):
    • Date
    • Thread