code testing for iOS