If I have 4 versions of DB. I have migrated from 3->4 in the latest update. If a user installs directly from 1 to 4 (skipping intermediate updates) how can I manage such scenarios?
If we are talking about lightweight migrations then this should happen on its own. If it’s heavyweight migration then you need to take additional efforts for the same to migrate data based on your use cases
Core Data has been encrypting data by default on non-jailbroken devices since iOS 5. In my video on data security mentioned below, I specifically discuss this topic at 11:05. My advice is to refrain from storing any sensitive details within the app, and I also recommend against encrypting data in the database solely for peace of mind, as this approach may introduce latency as the size of data increases in the mobile database. For a comprehensive understanding of iOS data security, I invite you to watch the video below. Thank you for your interest. Data security video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-RkYoNBqWBkk.html
@@CodeCat15 thanks for your quick reply. First of all thank you for all content and thanks for great videos. I'm asking about can we store data in table with encryption like developer can't see value for particular column or row for sqlite core data db if they open DB file with DB for Sqlite Browser means store value with encryption and retrive value with decryption with different data types. Is there any easy way?
My NSEntityMigrationPolicy subclass override function never gets called. Any idea why? I it set in the mapping model correctly but it seems to just skip it.
My apologize for the same. I was thinking by creating NSMigrationManger with source and destination model then the NSEntityMigrationPolicy class will be triggered. And, for me as well it was never called. @CodeCat15 can help us understanding the same.
I was waiting for your video as always. Always like your teaching style and your content is amazing as always. Never seen any selfless youtuber like you. Thank you 😊
Thanks Rahul, there’s a second part of this video which will cover a more complex use case where you can do heavyweight migration stay tuned. Please ask questions on this and do share the video with your iOS group.
sorry it took so long for this one, I hope it answers most of the question if you have any please do ask I'll incorporate those in the second part of the video.
In content extension you have more flexibility like you get a one Storyboard file where you can design your UI. In case of service extension storyboard file is not created. Before presenting notification to user you can modify your notification content. You have to add (mutable-content: 1) value in aps .I hope you get some clarity.