Create a To-Do List App: Data Model for local storage - JSON and Codable

preview_player
Показать описание
This is the beginning of a 5 part series to create a to-do app from start to finish. This first part is about creating a datamodel for the app using JSON and codable datatypes for local storage.

🛒 GAME DEVELOPMENT COURSE - JUST $20 🛒

➡️ Finished Project on Github:

✉️ COMMENTS ✉️
If you have questions about the video or Cocoa programming, please comment below.
Рекомендации по теме
Комментарии
Автор

This YouTube channel is just phenomenal. Products here helps me out SO MUCH and makes coding in Swift just so much exciting.

firstjamesryu
Автор

Am learning a lot from you day by day from basics to advance... Keep doing that great work.. Thanks and wish you a good luck for the upcoming tutorials of that series.

sachinarora
Автор

Personally, I prefer these more advanced, technical tutorials. Good job here.

TokyoXtreme
Автор

This is a great video Brian. Just what I needed. I was about to look into UserDefaults but the FileManager will work best for larger datasets I would think. Thanks.

stevenadons
Автор

I need help regarding this, how do i access the slack channel?

martinwolczyk
Автор

is there a way of unselecting the crossed out text? if you marked it as complete by accident?

mjwmediadesigns
Автор

Nice video man! You should make a video about sidebar menu or bottom nav bar and animating it.

kala
Автор

03:58 Aren't JSON booleans true/false, not 0/1?

DavidNitzscheBell
Автор

I want example of get data from json api and store on coredata

guidence
Автор

hi, I have a question now after creating the documentDirectory where can i find it? to see the data inside

abdullahalshehri
Автор

I tried this but wont work if I added or another type. Looping through all files will try to decode in the same type.

btw. having almost 50kb per files for atleast for hundreds of records will still be ok for performance?

kell
Автор

Hi Brian, great tutorial. I have some questions though...

1. Why didn't you decide to use Coredata? When would Coredata be ideal vs. saving to the file directory?
2. If its Coredata, would we still need to create the datamodel? Or the structure inside Coredata acts as the datamodel already?
3. Is it possible to refactor out the let url part and checking of the filemanager if it exists? How will it be done?

Thank you!

shingetzu
Автор

What's the color scheme you use? Awesome tuts bud!

teosherco
Автор

HI, Interesting Tutorial. Is it not better to handle the possible errors rather than just throw a fatal error ? By for example having your functions return optionals. You almost did that with the return data function, but instead of returning nil if it didn't exist you threw a fatal error. Is that not one of the reasons for optionals existing ?

sminkly
Автор

Nice tutorial. But could you explain why are you using this method of storing objects instead of using Core Data?

michaelnatolejr
Автор

Hey, your tutorials are awesome but you also do Android?

LifeCasts
Автор

we want more videos based on any specific projects, i have already youtube channel, i start my youtube channel to poor student that can't afford online bootcamp and training class, so please..

codinggyan