• 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: Which control is the field editor standing in for?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which control is the field editor standing in for?


  • Subject: Re: Which control is the field editor standing in for?
  • From: Charilaos Skiadas <email@hidden>
  • Date: Thu, 4 Aug 2005 17:07:47 -0500


On Aug 4, 2005, at 4:54 PM, Jim Correia wrote:

Given the window's field editor, how do I determine which control/ view the field editor is standing in for?

From:
http://developer.apple.com/documentation/Cocoa/Conceptual/ TextArchitecture/Concepts/TextFieldsAndViews.html


"The field editor designates the current text field as its delegate, enabling the text field to control changes to its contents. When the focus shifts to another text field, the field editor attaches itself to that field instead."

So the current text-field will simply be the delegate of the editor.
At least that's what that document leads me to believe.

Walk up the view hierarchy until I find a superview which acceptsFirstResponder? Some other method?

Thanks,
Jim

Haris


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Which control is the field editor standing in for?
      • From: Jim Correia <email@hidden>
References: 
 >Which control is the field editor standing in for? (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: Core Data Many2Many Relationships
  • Next by Date: Re: decoding arabic text broken
  • Previous by thread: Which control is the field editor standing in for?
  • Next by thread: Re: Which control is the field editor standing in for?
  • Index(es):
    • Date
    • Thread