Re: From NSTextView to address an NSTextField
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