When I use this bit of code:
NSMutableData *stringMutableData = [[_inputMessageField stringValue] dataUsingEncoding:NSUTF8StringEncoding];
I always get the warning:
Incompatible pointer types initializing 'NSMutableData *' with an expression of type 'NSData *'
However the code seems to work flawlessly. Could somebody explain to me why this message is showing up and how I would code it properly?