• 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: NSTextFieldDelegate issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextFieldDelegate issues


  • Subject: Re: NSTextFieldDelegate issues
  • From: JAMES ROGERS <email@hidden>
  • Date: Fri, 17 Jun 2011 10:21:26 -0500

Wow! That was easy. Thank You!

Jim
On Jun 17, 2011, at 9:21 AM, Alexander Reichstadt wrote:

> Try controlTextDidChange
>
> Am 17.06.2011 um 16:11 schrieb JAMES ROGERS:
>
>> I have an app with six (6) text fields. I need to know when the text in any of the text fields has changed so I can process them as a group.
>>
>> AppDelegate .h
>> @interface WK2CFGMacAppDelegate : NSObject <NSApplicationDelegate, NSTextFieldDelegate> {
>> 	outlets
>> }
>> actions
>> - (void) textDidChange:(NSNotification *)aNotification;
>>
>> AppDelegate.m
>>
>> -(void) awakeFromNib {
>>   [textField setDelegate:self] // for all six fields
>> }
>>
>> -(void) textDidChange:(Notification *)aNotification {
>>   NSLog(@"Text changed");
>> }
>>
>> The textDidChange method is not being called. Any help would be appreciated.
>>
>> Jim
>> JIM ROGERS
>> email@hidden
>> http://web.me.com/jimrogers_w4atk
>>
>> _______________________________________________
>>
>> 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
>

JIM ROGERS
email@hidden
http://web.me.com/jimrogers_w4atk

_______________________________________________

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: 
 >NSTextFieldDelegate issues (From: JAMES ROGERS <email@hidden>)
 >Re: NSTextFieldDelegate issues (From: Alexander Reichstadt <email@hidden>)

  • Prev by Date: Re: NSTextFieldDelegate issues
  • Next by Date: Re: NSString accessing characters
  • Previous by thread: Re: NSTextFieldDelegate issues
  • Next by thread: Making NSCache evict only unreferenced objects
  • Index(es):
    • Date
    • Thread