apple xcode simple examples