IOS Tutorial related Code