Word, your calc app looks super easy, i tried one from the stanford university site and that looks far more complicated than what you have done. Thanx m8
I think I have the right codes (they are the same as the codes you have on your link) but when i have the calculator on my ios simulator, I can type in numbers to both TxT fields, but 'calculate' and 'clear' do nothing.. Thanks for any help!
Having the same problem as @Il2Flyer , I have the latest Xcode version. While running the first build test on "ViewController.m" right after the clear function the following code:
>> - (void)dealloc
{ [super dealloc];
}
<< gives me the error "ARC forbids explicit message send of dealloc'" on the line of "[super dealloc];".
I have little to none coding knowledge, could you post a fix for this? Thanks! ^_^
P.S. I tried to give you as much information on the error as I could.
@Mapple2011 I can't seem to find the '.xib' file in the latest version of Xcode. Could you please tell me where it can be found? Thank you in advance.
@JonsAdventureStories the new Xcode (4.2.1) has STORYBOARD mode......to remove that while creating a new Xcode ios app based project , just uncheck the Storyboard
I'm about to try this to see how it works, but honestly the worst thing you can do is a tutorial for beginners that doesn't work 100%. Yes it is good to let people struggle a bit but if your cause too much frustration it will further hinder the learning process!
I just tried this, but i noticed something a bit off.
The calculator is only multiplying textField1 by itself, it isn't multiplying by the 2nd number. My calculator was doing this when I tried, so I used the computer's calculator to try your 2nd multiplication, and it did the same thing.
The answer to your 2nd one is 474,198,375,757,964, not 300,901,423,028,109,312
@iSmashUriDevice When you want to put this on an iOS Device you have to pay 99$ for the Developer Certificat or you have to jailbreak your iDevice and modify Xcode, but don´t ask me how to do that :)
@Mapple2011 lol i know that but im jail-broken im searching how to do that don't worry i wan't crowd ur comments with questions all i ask is if you could sub me :D lol
no sound?
LifeMattersChannel 22 hours ago
Word, your calc app looks super easy, i tried one from the stanford university site and that looks far more complicated than what you have done. Thanx m8
ginton 2 days ago
CalculateViewController.xib has been replaced with StoryBoard! It works the same way!
HegfZero 1 week ago
@HegfZero calcuateviewcontroller.xib = Storyboard
HegfZero 1 week ago
i cant find the calcuateviewcontroller.xib
mrswimtim 2 weeks ago
No sound = No good
snowflakesandstars 3 weeks ago
@recobafan Have you connected the buttons and the textfield with the files ower?
Mapple2011 1 month ago
I think I have the right codes (they are the same as the codes you have on your link) but when i have the calculator on my ios simulator, I can type in numbers to both TxT fields, but 'calculate' and 'clear' do nothing.. Thanks for any help!
recobafan 1 month ago
Dein Rechner ist Echt gut :)
Weißt du vielleicht wie man eine if- abfrage einbaut das man auch addieren subtrahieren und so weiter kann?
Danke :)
CitydriftSL 1 month ago
@CitydriftSL Probier das mal aus ; ) : /file/rwp6bz Ich habs dir auf sendspace hochgelanden
Mapple2011 1 month ago
@Mapple2011 Danke :)
CitydriftSL 1 month ago
@CitydriftSL ein part 2 kommt bald ; )
Mapple2011 1 month ago
Having the same problem as @Il2Flyer , I have the latest Xcode version. While running the first build test on "ViewController.m" right after the clear function the following code:
>> - (void)dealloc
{ [super dealloc];
}
<< gives me the error "ARC forbids explicit message send of dealloc'" on the line of "[super dealloc];".
I have little to none coding knowledge, could you post a fix for this? Thanks! ^_^
P.S. I tried to give you as much information on the error as I could.
SpammingRogue 1 month ago
@Mapple2011 I can't seem to find the '.xib' file in the latest version of Xcode. Could you please tell me where it can be found? Thank you in advance.
JonsAdventureStories 2 months ago
@JonsAdventureStories the new Xcode (4.2.1) has STORYBOARD mode......to remove that while creating a new Xcode ios app based project , just uncheck the Storyboard
and VIOLLA
YOU WILL HAVE
iPhone xib
and
iPad xib
rip111buddy 1 month ago
This vedios making us to learn programming very fast !!!
458prashanth 2 months ago
HELP!!! I got a error like this: - (void)dealloc
{ [super dealloc]; ARC forbids explicit message send of "dealloc"
}
Il2Flyer 3 months ago
Its a good tutorial i just tried it, everything works fine, exact its not multiplication apparently is "to the power of"
UgotHacked35000vr 3 months ago
thank you so much, I finally get XCode4 right now. YOUR AMAZING :D
BeastofRage 3 months ago
wtf is before the 2 in @"2.f" ?????????????
PeopleOnCamera 4 months ago
@PeopleOnCamera %
kbrunescape1999 1 month ago
no way to hide keyboard after key in
zhazhago 4 months ago
@zhazhago you have to change the keyboard-type if you want to hide the keys ;)
Mapple2011 4 months ago
@Mapple2011 can be more specific?
zhazhago 4 months ago
This doesn't seem to be in Xcode 4 either!!!
lilkev3976 5 months ago 4
@lilkev3976 What do you mean?
Mapple2011 5 months ago
I'm about to try this to see how it works, but honestly the worst thing you can do is a tutorial for beginners that doesn't work 100%. Yes it is good to let people struggle a bit but if your cause too much frustration it will further hinder the learning process!
lilkev3976 5 months ago
Thanks for this tutorial, very useful for me as a Mac newbie :)
balcerman 5 months ago
mi english is bad but you have an error there..
float c = x*([textfiel2.text floatvalue]); // this is the correct way.. haha you put a 1
bye
ThePachaaa 5 months ago
@ThePachaaa Yes sry. I´ve correct this
Mapple2011 5 months ago
EDIT: I changed float c = x*([textField1.text floatValue]); to textField2, and it ended up working just fine~
You might want to fix that in your video ^^;
narutoanime133 5 months ago
@narutoanime133 Yes sry. I´ve correct this
Mapple2011 5 months ago
I just tried this, but i noticed something a bit off.
The calculator is only multiplying textField1 by itself, it isn't multiplying by the 2nd number. My calculator was doing this when I tried, so I used the computer's calculator to try your 2nd multiplication, and it did the same thing.
The answer to your 2nd one is 474,198,375,757,964, not 300,901,423,028,109,312
narutoanime133 5 months ago
@narutoanime133 Yes sry. I´ve correct this
Mapple2011 5 months ago
@Mapple2011 Haha, no problem! It's a simple mistake :P, but I'm surprised no one else has found out about it
narutoanime133 5 months ago
@narutoanime133 There are three other people -.-
Mapple2011 5 months ago
thx soo much so how do you put on ipodtouch???
iSmashUriDevice 6 months ago
@iSmashUriDevice Thats a simulator :)
Mapple2011 6 months ago
@Mapple2011 i know lol :) see my vid of this :)
iSmashUriDevice 6 months ago
@iSmashUriDevice When you want to put this on an iOS Device you have to pay 99$ for the Developer Certificat or you have to jailbreak your iDevice and modify Xcode, but don´t ask me how to do that :)
Mapple2011 6 months ago
@Mapple2011 lol i know that but im jail-broken im searching how to do that don't worry i wan't crowd ur comments with questions all i ask is if you could sub me :D lol
iSmashUriDevice 6 months ago
Thank you. Works like a charm :)
Bredli37 7 months ago
@Bredli37 Thx :)
Mapple2011 7 months ago
where did u learn to do this
iwantapigtoday 7 months ago
@iwantapigtoday
At first I watched tutorials, too. Then I've looked at forums about Xcode developing. Then I began to develop own simple apps. etc........... :)
Mapple2011 7 months ago
very helpful! Thanks!
Even the textField1 bug was helpful as an intro to debugging...
geoffgmartin 7 months ago
hi mate, thanks for that bur could you do one that you can choose the different sum so + - X and / please
rafee54 7 months ago
Automatic Reference Counting forbids explicit message send of 'dealloc'
please help!
MacintoshOSXI 8 months ago
nothing happens when i click on the .xmb =/ im kinda stuck at the moment, can someone possibly help me??
BnBsDailyLife 8 months ago
@BnBsDailyLife Maybe try to do a double click or a single click on the .xib file. When you have a old mac, you have to wait a little.
Mapple2011 8 months ago
why in my project the placeholders not shows :(
ayaloureiro 8 months ago
@ayaloureiro
which placeholders?
Mapple2011 8 months ago
Thank you! :)
Mapple2011 9 months ago
This vIdeo is more helpful than the Apple guides!
EMango1000 9 months ago
Link for the code in desciption
Mapple2011 9 months ago
Link for the code in desciption
Mapple2011 9 months ago
I've never posted on youtube before but your great work is big help! so i wanted to say thanks alot Mapple you rock! :))
R32boii 9 months ago
add i jsut typed in 2 x 5 and it gave me 4
xH4CK3Rx66 9 months ago
@xH4CK3Rx66 Yes, but I´m working to fix it. Maybe I do a new calculator tutorial :)
Mapple2011 9 months ago
REALLY SATISFIED!!! GREAT VIDEO!! but, when i click the clear button, the answer that i want to clear, doesnt go away.. :( great video!!
xH4CK3Rx66 9 months ago
@xH4CK3Rx66 Thx!
Did you have connected the "label" Outlet via File´s owner to the "invisible label" under the text field?
Please see 5:40min. - 5:56min. and 7:32min. - 7:39min. :)
Mapple2011 9 months ago
Thank you, the best tutorial I ever seen!
HenrikTheFilmMaker 9 months ago
@HenrikTheFilmMaker
Thank you!
Mapple2011 9 months ago