I'm able to put the contents of an NSSet
into an NSMutableArray
like this:
NSMutableArray *array = [set allObjects];
The compiler complains though because [set allObjects] returns an NSArray
not an NSMutableArray
. How should this be fixed?
set
isnil
. – Worshipful