• 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: From NSTextView to address an NSTextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: From NSTextView to address an NSTextField


  • Subject: Re: From NSTextView to address an NSTextField
  • From: Ross Carter <email@hidden>
  • Date: Tue, 04 Aug 2009 11:24:07 -0400


On Aug 3, 2009, at 4:43 AM, Alastair Houghton wrote:

On 2 Aug 2009, at 21:48, Steve Cronin wrote:

Folks;

NSTextView <- NSText <- NSView <- NSReponder <- NSObject

		NSTextField <- NSView <- NSReponder <- NSObject

At runtime if I have access to an instance of NSTextView how can I address the NSTextField?
I know I should know this but I having a 'moment'...

Maybe [aTextView delegate] -- If the NSTextView is currently acting as the field editor for the NSTextField, the NSTextField is its delegate.
_______________________________________________


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: 
 >From NSTextView to address an NSTextField (From: Steve Cronin <email@hidden>)
 >Re: From NSTextView to address an NSTextField (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: [iPhone] networking-is it crippled on the simulator?
  • Next by Date: Re: NSSound play often fails
  • Previous by thread: Re: From NSTextView to address an NSTextField
  • Next by thread: Design pattern for "per-document" settings
  • Index(es):
    • Date
    • Thread