iOS cordite read error coredata could not fulfill a fault for ' 0x15b4a870

Source: Internet
Author: User

EXPLANATION is here

Http://stackoverflow.com/questions/14296892/nsobjectinaccessibleexception-reason-coredata-could-not-fulfill-a-fault

Here is a detailed explanation of Chinese

http://blog.csdn.net/meegomeego/article/details/17654947

On this issue, we are dealing with 2 functions:

/*returns the object for the specified ID if it is already registered, otherwise it creates a fault corres  Pondingto that ObjectID.  It never returns nil, and never performs I/O. The object specified by ObjectID was assumed to exist, and if that assumption was wrong the fault may throw a exception whe N used. */-(Nsmanagedobject *) Objectwithid: (Nsmanagedobjectid *) ObjectID; /*returns the object for the specified ID if it's already registered in the context, or faults the object into the  Context.  It might perform I/O if the data is uncached.  If The object cannot is fetched, or does not exist, or cannot is faulted, it returns nil.  Unlike-objectwithid:it never returns a fault. */-(nsmanagedobject*) Existingobjectwithid: (nsmanagedobjectid*) ObjectID error: (nserror**) Error ns_available (10_6, 3_ 0);

Let's take a look at the differences between the 2 functions above.

Here are a few words, the first one

iOS cordite read error coredata could not fulfill a fault for ' 0x15b4a870

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.