Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
OS X and IOS development
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Yodda_Hunter" data-source="post: 1533099" data-attributes="member: 303804"><p>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</p><p>--------------------------------------------------------</p><p>OS X:</p><p>if (textfield.stringvalue=@"Hey") {</p><p>(Lable.stringvalue = @"Hello");</p><p></p><p>----------------------------------------------------------</p><p>IOS:</p><p>if ([textfield.text isEqual<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite4" alt=":mad:" title="Mad :mad:" loading="lazy" data-shortname=":mad:" />"Hey]) {</p><p>(label.text = @"Hey");</p><p>-----------------------------------------------</p></blockquote><p></p>
[QUOTE="Yodda_Hunter, post: 1533099, member: 303804"] 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"); ----------------------------------------------- [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
OS X and IOS development
Top