看板
[ MacDev ]
討論串[請益] NString要如何將字串串起來
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
順便說一下,這個 autorelease 加下去是沒有用的 :p. 基本上,[[NSString alloc] init]、[NSString string],以及 @"". 都是回傳同一個 static 的 NSString 物件,而這個物件的 retain. count 是 NSIntegerM
(還有80個字)
內容預覽:
還是回文好了. NSString 不可修改, 所以不能串. 你有兩種選擇.... 1). // Somewhere in Declaration. NSMutableString *value;. - (void)appendInputToValue. {. NSString *input = [U
(還有418個字)
首頁
上一頁
1
下一頁
尾頁