开发者

Open and Closing brackets appearing round text strings

开发者 https://www.devze.com 2023-03-19 08:27 出处:网络
Why am I always viewing the exclamation marks and open close brackets around my strings in labels like this

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

0

精彩评论

暂无评论...
验证码 换一张
取 消