The width ratio between narrow and wide can be chosen between 1:2.25 and 1:3. The minimum narrow width varies with the specification, with the smallest being 0.0065 inches (0.165 mm), allowing 11 digits per inch to be encoded
I this there should be some logic taking into account screen scale and calculate power bar width, what do you think?
@Coledunsby could you explained by what for are this loops?
https://github.com/Coledunsby/CDCodabarView/blob/master/CDCodabarView.swift#L80
https://github.com/Coledunsby/CDCodabarView/blob/master/CDCodabarView.swift#L99
Wiki
I this there should be some logic taking into account screen scale and calculate power bar width, what do you think?