SwiftUI Core Data Intro

preview_player
Показать описание
#Swift / #iOS / #SwiftUI / #Core Data

In this episode we dive into the world of Core Data and see how incorporate Core Data into SwiftUI.

0:00 Intro
0:35 New project
7:23 Create company
12:29 View saved companies
17:02 Load data into previews
19:28 Update
23:11 SF Symbols
28:40 Wrap

Learn More

Data Structures & Algorithms

Level Up AutoLayout

Level Up in Swift

Source code

Free e-Book getting started iOS
Рекомендации по теме
Комментарии
Автор

i just want you to know that you have a natural ability to impart knowledge to another person ! I feel so refreshed just listening to how you explain concepts and the topic. Thank you so much for sharing !

yooolie
Автор

Thank you so mach for your amazing work! I'm waiting when are you going to create a new SwiftUI course on UDEMY?

ezsmvws
Автор

I love your videos and your style with delivery is great! Also I'm a sucker for the old-school video game segues. Cheers.

tylerwatt
Автор

Best tutorial about CoreData and SwiftUI, thank you!

mihomailyan
Автор

Excellent tutorial! Can you also make a tutorial on app extensions + SwiftUI? I’m struggling with an Action Extension and I think the only way around is to use the hosting controller and have the action extension implemented in UIKit.
Also, one other topic is sharing data between app extension and SwiftUI. Looks like no matter how I touch the shared CoreData context, SwiftUI core data context is never updated (only during the initial start of the app).

mihailpopa
Автор

Nice clear example. one other small hint is that for that Cmd-I re-indent tip you showed to make the code line up near the end, you can do that a bit faster by double-clicking on the closing or opening brace of a block, that selects all of the code within that block so you can use Cmd-I to re-align... just a bit faster than manual selection of a block of code.

kigiphoto
Автор

one question : when should we use $ with companyName? because here we used $companyName on textField and not in addCompany()! I'm very confused with $, sorry if its sound silly question, please help me to understand this😊

sarikapaghdal
Автор

Nice, this still works well until these day on Xcode 14.3.1

trungnghia
Автор

I guess that your xcode version would be 13 beta?. How about writing your version on comment(down on your video)?

hyklmyg