Having gone through CS193P, I think the idea is to get comfortable with NSString and UILabel versus using C. I would look into having a simple decimal point BOOL flag, as buttons are pressed and you are concatenating the numbers 1- for use and 2- for display.
This will come in handy as well when you are doing other checks like hanging decimal points at the end of the number or allowing the user to backspace a number.
Edited for example:
Create an IBAction connected to each number button:
- (IBAction)numberButtonPressed:(UIButton *)sender { if([sender.titleLabel.text isEqualToString:@"."]) { if (!self.inTheMiddleOfEnteringANumber) self.display.text=[NSString stringWithString:@"0."]; else if (!self.decimalPointEntered) { self.display.text=[self.display.text stringByAppendingString:sender.titleLabel.text]; self.decimalPointEntered=TRUE; } } self.inTheMiddleOfEnteringANumber=TRUE; }