Hi Guys,
Im getting started with xcode and objective-c.
I did 1st year at uni doing programming but I left after the first year. I wasnt very good and it was a while ago...but I thought it would be fun to give some programming a go again.
If I add to variables together... previousNumber and currentNumber, both declared as floats.
Say previousNumber is 6 and current is 0.1, and i display the answer in a textfield created with the xcode interface builder. I'm get 6.10000 and then a load of numbers.
Is this because I have to limit the amount of characters displayed? How would I do that?
Also when I build an app which is to be bootable on another machine how do I do that. I build the project. Theres an app in the build folder but I guess it needs some of the other files in there.
Thanks in advance
Mikey
Im getting started with xcode and objective-c.
I did 1st year at uni doing programming but I left after the first year. I wasnt very good and it was a while ago...but I thought it would be fun to give some programming a go again.
If I add to variables together... previousNumber and currentNumber, both declared as floats.
Say previousNumber is 6 and current is 0.1, and i display the answer in a textfield created with the xcode interface builder. I'm get 6.10000 and then a load of numbers.
Is this because I have to limit the amount of characters displayed? How would I do that?
Also when I build an app which is to be bootable on another machine how do I do that. I build the project. Theres an app in the build folder but I guess it needs some of the other files in there.
Thanks in advance
Mikey