Open and Closing brackets appearing round text strings
Why am I always viewing the exclamation marks and open close brackets around my strings in labels like this ("my text")
theQuestion.text=[NSS开发者_如何学编程tring stringWithFormat:@ "%@",[currentQuestions objectAtIndex:count]]
Objective c comes from an smalltalk which uses the concept of sending messages to objects, the brackets are used to send those messages to the objects. Regarding the exclamation marks in objective c they mean the same as in any other languages which is NOT
精彩评论