Add fields in the old version of coredata to test whether the new version can continue to use the old version (use of magicalrecord)

Source: Internet
Author: User

Coredata uses a third-party library magicalrecord,

Reference: http://blog.csdn.net/kuizhang1/article/details/21200367


To upgrade the coredata database, follow these steps:

Http://www.07net01.com/zhishi/411401.html


Test and upgrade based on the two articles without any problems. My demo project:
Https://github.com/lichanghong/CoreDataVersionTest


Some information on the internet says:
If your app uses coredata technology, crash will occur when you modify the DB field and upgrade it to the new version. because only the application app is upgraded, the DB files in the update directory are not. If it is under development, you only need to install the deleate app again. If it is a virtual machine, you only need to reset the simulator. If it is the software uploaded to the appstore, you must be careful with it. If the app is not processed by migrate, the user will inevitably crash after upgrading.
But I did not find the crash phenomenon in my tests.

Add fields in the old version of coredata to test whether the new version can continue to use the old version (use of magicalrecord)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.