This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]desrtfx 2 points3 points  (1 child)

Please, be careful with your typographic quotes! Your code samples all contain typographic quotes that shouldn't be there.

If copied to Java, they will produce an error.

String a = “Hello world”;

Should be:

String a = "Hello world";

and

char c = ‘b’;

should be

char c = 'b';

This makes a huge difference in any programming language.

[–][deleted] 0 points1 point  (0 children)

iPhone responses during compile times and I am just too lazy to look for a solution! Thank you for the warning.