配列をループして (Addr を比較)、一致する文字列 (currentAddr) を見つけて、一致する文字列のみを別の配列に入れようとしていますが、エラーが発生し続けます
「セレクター addObject を宣言する NSArray の可視の @Interface はありません」
NSArray *matchedAddr;
//NOTE: multiple addresses from compareAddr[i] may match to multiple stored Addresses
for (NSUInteger i = 0; i < [compareAddr count]; i++)
{
//Checking IF the obtained key (Mac Address) at compareAddr[i] matches one of the stored Addresses
NSString *currentAddr = [compareAddr objectAtIndex:i];
BOOL addrExists = ([[dictionaryOfAddresses objectForKey:@"StoredAddr"]objectForKey:currentAddr] != nil);
if (addrExists)
{
NSLog (@"Match found at index %1u", i);
[matchedAddr addObject:currentAddr];
}
else { NSLog(@"No Value matches at index %i \n", i); }
}
NSLog (@"Array of matched addresses for further processing %@", matchedAddr);