EMV TLV Decoder. Port to Objective-C From PHP. Original code is https://github.com/unwiredbrain/php-emv