NSIndexSet does not contain an init method for non-contiguous sets

Originator:ben
Number:rdar://11089349 Date Originated:21-Mar-2012 10:50 AM
Status:Open Resolved:
Product: Product Version:
Classification: Reproducible:
 
21-Mar-2012 10:50 AM Benedict Cohen:
Summary:
NSIndexSet does not contain an init method for non-contiguous sets. The only ways to create a non-contiguous set is to create an NSMutableIndexSet and create an immutable copy of it. This means that NSIndexSet tightly coupled with NSMutableIndexSet.

Steps to Reproduce:
N/A

Expected Results:
N/A

Actual Results:
N/A

Regression:
N/A

Notes:
I would like the following method added to NSIndexSet:
-(id)initWithIndexes:(NSUInteger *)indexBuffer length:(NSUInteger)length;

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!