a port of CFXR/SFXR for iOS