Hey guys... I quite new to this so hear me out...
I have 4 IBOutlets.
ABName
ABEmail
CLName
CLEmail
I have an IBAction connected to a button, and what I want to do, is when the button is pushed have CLName & CLEmail populated with the values from ABName & ABEmail.
Here is my code, but I think it is completely wrong...
Code:
#import "AddressBookImporter.h"
@implementation AddressBookImporter
- (IBAction)importFromAB:(id)sender {
NSString *email = [NSString stringWithString:ABEmail];
NSString *name = [NSString stringWithString:ABName];
[CLEmaill setStringValue:email];
[CLName setStringValue:name];
}
@end