Hello,
I am really confused by pointers... I guess I am used to other languages that do not have them. I have the following snippet of code:
- (void)setAccountNumber:(NSString *)accountNumber Pin:(NSString *)pin {
myAccessNumber.text = accountNumber;
myPin.text = pin;
}
This function is being called by another view before this view takes control. No matter what I do, I can not get the value of account number into the access number label and the pin into the pin label. When I debug, I can see the values are correctly being passed in but they are still not showing up. Furthermore, my interface builder is all properly set up to receive input.
I have also tried this, it also does not work
- (void)setAccountNumber:(NSString *)accountNumber Pin:(NSString *)pin {
myAccessNumber.text = [[NSString alloc] initWithString:accountNumber];
myPin.text = [[NSString alloc] initWithString:pin];
}
Thanks for any help.