Vol*_*ort 3 cocoa objective-c nsarray nsrect
我想制作一个NSMutableArray并用例如用它创建的矩形填充它NSRectMake.但是数组只允许对象.我该怎么做才能保存NSRects在数组中?
NSMutableArray
NSRectMake
NSRects
Ali*_*are 12
使用NSValue那是专为那些东西设计的.在你的情况下,使用valueWithRect:
NSValue
valueWithRect:
Apple的相应编程指南中解释了所有内容.
归档时间:
14 年,3 月 前
查看次数:
1630 次
最近记录:
12 年,5 月 前