- Joined
- Jun 8, 2013
- Messages
- 158
- Reaction score
- 0
- Points
- 16
- Location
- Būr said,Egypt
- Your Mac's Specs
- MacBook Pro (i5)
Guys. why there is diffrance between OS X codes and IOS codes,i know both are woking with the same programming language but some code aren't the same,like this example
--------------------------------------------------------
OS X:
if (textfield.stringvalue=@"Hey") {
(Lable.stringvalue = @"Hello");
----------------------------------------------------------
IOS:
if ([textfield.text isEqual"Hey]) {
(label.text = @"Hey");
-----------------------------------------------
--------------------------------------------------------
OS X:
if (textfield.stringvalue=@"Hey") {
(Lable.stringvalue = @"Hello");
----------------------------------------------------------
IOS:
if ([textfield.text isEqual"Hey]) {
(label.text = @"Hey");
-----------------------------------------------