Hi,
My code:
stringFromRecievedData =
[[NSString alloc]initWithData:_data1 encoding:NSUTF8StringEncoding];
if (![stringFromRecievedData isEqualToString:lastStringFromRecievedData]) {
[lastStringFromRecievedData setString: stringFromRecievedData];
I get the same "not equal" result even in the second round- even when it is the same data each time...
Is this the correct way to compare the two?
Thanks.