Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Help with challenge of Chapter 5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with challenge of Chapter 5



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>)



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.