Clean up the iOS Swift demo code.