Core data heavyweight migration swift tutorial Part 1 | Hindi tutorial with English captions



Core data heavyweight migration swift tutorial Part 1 | Hindi tutorial with English captions

Core data heavyweight migration swift tutorial  Part 1 | Hindi tutorial with English captions

Heavyweight migration in core data is an important topic for iOS development. In this iOS core data tutorial, we will cover heavyweight migrations. We have already covered lightweight migrations for core data in a previous tutorial and in this session, we will explore heavyweight migrations.

Given are the chapters for today’s video

0:00 introduction & per-requisites
0:46 core data heavyweight migration
2:00 documentation on heavyweight migration
2:26 use cases for heavyweight migrations
2:40 lack of normalization in the db design
3:22 incorrect datatypes to columns
4:03 major changes impacting db design
4:47 scenario for first demo
5:33 code walkthrough
7:44 when to use migration
8:11 add model version file
9:27 why do we need a mapping model file?
11:34 adding the mapping model file
12:23 adding NSEntityMigrationPolicy class
15:23 setting the custom policy path
16:11 adding NSManagedObject subclass
17:08 running the migration
18:31 will migration policy run multiple times?
19:20 checklist for heavyweight migration
20:43 code clean up suggestions
22:22 conclusion

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

βœ… Subscribe to the channel and stay ahead of everyone by following the right way for writing clean code in swift. πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯

πŸ”—Click on the link to subscribe: https://www.youtube.com/c/codecat?sub_confirmation=1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

———————————————————————————————————————–
πŸ“₯ Download the source code from

Github: https://github.com/codecat15/Youtube-tutorial/tree/master/CoreData/Migrations/Heavyweight%20Migrations/Demo%201
———————————————————————————————————————–
############################################

Links mentioned in the video tutorial:

Lightweight migrations: https://youtu.be/YPEX9twI-zU
Don’t use string everywhere: https://youtu.be/Q4rJnFx684M
Core data basics: https://youtu.be/wAy3S1MnKYY

Connect with me on social media
Instagram: codecat15
πŸ“§: [email protected]
🐦: https://twitter.com/codecat15
Facebook: https://www.facebook.com/code.cat.792
Github: https://github.com/codecat15

###########################################

#coredataHeavyWeightMigrations, #coreDataTutorial, #swiftHindiTutorial

Comments are closed.