UPC encoder for iOS