Objective C中的^字符是什麼意思?就像下面的代碼目標C中的^是什麼意思?
TWTweetComposeViewControllerCompletionHandler
completionHandler =
^(TWTweetComposeViewControllerResult result) {
switch (result)
{
...
}
[self dismissModalViewControllerAnimated:YES];
};
它被稱爲插入符號。它也是C中的按位異或。10^4 = 14。 – vakio 2012-02-03 09:40:51