CardIO integration, bridged from Obj-C to Swift