title: Cast of a non-Objective-C pointer type 'const UInt8 *' (aka 'const unsigned char *') to 'NSData *' is disallowed with ARC
body: <p>ok I'm completely new to Obj-C and iOS. I'm just trying out a DataLogging example for the Pebble watch on iOS and changing a few things to log the accelerometer reading.</p>
  
  <p>I have this function:</p>
  
  <pre><code>- (BOOL)dataLoggingService:(PBDataLoggingService *)service hasByteArrays:(const UInt8 *const)data numberOfItems:(UInt16)numberOfItems forDataLoggingSession:(PBDataLoggingSessionMetadata *)sessionMetadata{
  
      //NSString *log = [NSString stringWithFormat:@"%s", data]; &lt;-- this line compiles but display garbage on the view. So I try to use the line below.
  
      NSString *log = [[NSString alloc] initWithData:(NSData *)data encoding:NSASCIIStringEncoding]; &lt;-- this line gave build error as in the post title
  
      [self addLogLine:log];
  
      // We consumed the data, let the data logging service know:
      return YES;
  }
  </code></pre>
  
  <p>So any help would be greatly appreciated. Thanks.</p>