objective c - When I paste a string into Xcode I always get an error and have to re-type it -
this happens every time paste line of code containing string xcode. example when pasted xcode:
simonlabel.text = @"good job!"; i received error saying there "unexpeceted '@' in program"
if delete , retype way pasted not error.
there many problems can appear there:
"can different character expect(space) can different character expectinvisible characters. won't see in editor @ got there copy-paste.
all these problems can happen because
- you copy website different encoding (or badly writter website)
- you copy smart editor (e.g. ms word, open office) replaces of characters match locale (e.g. quotation marks) or replaces/add spaces based on grammar , word wrapping (e.g non-breaking space).
Comments
Post a Comment