Hi, I am fairly new at mac programming, although i have knowledge in many programming languages. I am trying to get into using xcode and to start I thought i would make a calculator with a gui that has buttons to click. The app works fine except for one major problem. Lets say I click the 5 button, the app displays 5 in the above text field, then I can choose an operator, another number such as 7, and display the result in the text field. The problem is that I cant use two digit numbers. If I click 5 and then click 2 to use 52, it wont. It will replace the 5 with the 2. I need a way to use numbers above one digit so when i click 5, it displays 5, and then when i click 2, it displays 52, until I click an operator, in which case it would take the current number in the field and put it in a variable. I am using Xcode 3 in leopard which uses Objective-C 2, if that matters. I dont need sample code if you dont have the time, just an idea of how to do it. Thanks in advance and I hope someone could help