In this video I'll show how we can use ChatGPT to generate SwiftUI code that recreates Apple's Clock icon on the Home Screen. I'll then walk you through building the same thing ourselves, so you can see how the two solutions compare.
00:00 Introduction
03:27 Using ChatGPT to write SwiftUI code
06:40 Asking ChatGPT to fix its errors
09:16 Trying what ChatGPT built
11:38 Building the project ourselves
19:10 Adding details to the clock hands
19:53 Adding a second hand
20:59 Constantly sweeping hands
23:11 Drawing an inner ring
25:45 Adding hour numbers
29:09 Bugs and performance
31:55 Final scores
32:43 Tips for using ChatGPT safely
36:19 How programmers can use ChatGPT effectively
37:30 Is ChatGPT 4 better?
Смотрите видео Can ChatGPT write better SwiftUI code than you? онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Paul Hudson 19 Март 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 48,145 раз и оно понравилось 1.7 тысяч людям.