Cocoa-Touch-Barcodes icon indicating copy to clipboard operation
Cocoa-Touch-Barcodes copied to clipboard

NKDBarcode.m (Invalid specifier 'H' error)

Open BrokenHomeStudiosLLC opened this issue 10 years ago • 2 comments

Line 317 of NKDBarcode.m

return [NSString stringWithFormat:@"\n\tBarcode Class: %@\n\tContent: %@\n\tCheck Digit:%c\n\tWidth:%f\n\t%Height:%f\n\tBar Width:%f\n\tFont Size:%f\n\tCaption Height:%f",
    [self class],
    [self content],
    [self checkDigit],
    [self width],
    [self height],
    [self barWidth],
    [self fontSize],
    [self captionHeight]];

Height has a '%' behind the 'Height' this causes error for me and can not build

BrokenHomeStudiosLLC avatar Nov 21 '14 18:11 BrokenHomeStudiosLLC

Remove the '%' and it will build.

holiday avatar Dec 09 '14 15:12 holiday

Can you make the change in the repo, so everyone has this change

BrokenHomeStudiosLLC avatar Jan 23 '15 17:01 BrokenHomeStudiosLLC