I have stored our Phone Contacts id into an NSMutableSet to do some task.
and now I want to pass mutable set object into an NSArray but I have getting problem when I assign it.
this is my code:
NSMutableSet *newsetadded = [NSMutableSet setWithSet:oldsets];
NSArray *oldDataArray = [newsetadded allObjects];
Please tell me what I am doing wrong in our code..!