|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
ok, solved (with the help of some direct emails). #import <Cocoa/Cocoa.h> @interface CountString : NSObject { IBOutlet NSTextField *textField; IBOutlet NSTextField *textField2; } - (IBAction)CountIt:(id)sender; @end #import "CountString.h" @implementation CountString - (IBAction)CountIt:(id)sender { NSString *string = [textField stringValue]; [textField2 setIntValue:[string length]]; return; } |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Objc-language mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
| References: | |
| >Re: Objc-language Digest, Vol 6, Issue 259 (From: Tom Schulz <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.