Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 14th, 2012  |  syntax: None  |  size: 0.24 KB  |  hits: 22  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Convert const unsigned short to NSString properly on iOS
  2. -(void) onDecode: (const unsigned short*) str: (const char*) strType
  3. {
  4.    NSString *decodedString = [NSString stringWithFormat:@" %S", str];
  5.    [self otherFunction:decodedString];
  6. }