Objective C Boolean Array

前端 未结 6 991
北恋
北恋 2020-12-08 18:54

I need to utilize an array of booleans in objective-c. I\'ve got it mostly set up, but the compiler throws a warning at the following statement:

[updated_use         


        
6条回答
  •  悲&欢浪女
    2020-12-08 19:35

    If your collection is large or you want it to be faster than objc objects, try the CFBitVector/CFMutableBitVector types found in CoreFoundation. It's one of the CF-Collections types which does not ship with a NS counterpart, but it can be wrapped in an objc class quickly, if desired.

提交回复
热议问题