Added initial platform code for iOS