I am calling a function from an Objective-C class. I passing an array from my Swift class into an Objective-C function.
Here is my code for the Swift
var videosAutoCompletion:[String] = []
completeSearch.autocompleteSegesstions(searchText, self.tableView, self.videosAutoCompletion)
Objective-C Function
 -(void)autocompleteSegesstions : (NSString *)searchWish :(UITableView*)table :(NSArray*)stringArray
Inside the Objective-C function i had a block
  dispatch_sync(dispatch_get_main_queue(), ^{
        self.ParsingArray = [[NSMutableArray alloc]init]; //array that contains the objects.
        for (int i=0; i != [jsonObject count]; i++) {
            for (int j=0; j != 1; j++) {
                //NSLog(@"%@", [[jsonObject objectAtIndex:i] objectAtIndex:j]);
                [self.ParsingArray addObject:[[jsonObject objectAtIndex:i] objectAtIndex:j]];
                //Parse the JSON here...
                //NSLog(@"Parsing Array - %@",self.ParsingArray);
                stringArray =  [self.ParsingArray copy];
                [table reloadData];
            }
    }
    });
I am getting this error for the following line.
Variable is not assignable (missing __block type specifier) at line
 stringArray =  [self.ParsingArray copy];
 
    