iOS - Support for third party frameworks and ti.current modules

I have not tried nullptr, I guess it would work anyway, will test and update the PR