I'm just starting out with iphone development and ran across some example code that used @"somestring"
someLabel.txt = @"string of text";
Why does the string need the '@'? I'm guessing it's some kind of shortcut for creating an object?
It creates an NSString object with that string as opposed to the standard c char* that would be created without the '@'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With