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
Objective-C
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="eddielee" data-source="post: 1179611" data-attributes="member: 68067"><p>I'm a long time PHP, C++ and Java Developer but have just started creating my first iPhone app. I'm picking up Objective-C quite quickly but I have a few questions. Alot of syntax seems to have @ signs in it. For example...</p><p></p><p>[CODE]myLabel.text = @"Hello, World!";[/CODE]</p><p></p><p>What is the @ sign for?</p><p></p><p>And there seems to be alternate ways of writing things for example this code does exactly the same as what I previously posted, whats the difference?</p><p></p><p>[CODE][myLabel setText:@"Hello, World!"];[/CODE]</p><p></p><p>Thanks</p></blockquote><p></p>
[QUOTE="eddielee, post: 1179611, member: 68067"] I'm a long time PHP, C++ and Java Developer but have just started creating my first iPhone app. I'm picking up Objective-C quite quickly but I have a few questions. Alot of syntax seems to have @ signs in it. For example... [CODE]myLabel.text = @"Hello, World!";[/CODE] What is the @ sign for? And there seems to be alternate ways of writing things for example this code does exactly the same as what I previously posted, whats the difference? [CODE][myLabel setText:@"Hello, World!"];[/CODE] Thanks [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Objective-C
Top