runtime wrapper for iOS