Suppose I have core data entities A and B, where B points to A via attribute a.
Given the NSEntityDescription for B, and a key path to a given property of A (e.g @”a.name”), is there any way to recover the NSEntityDescription of A?
Thanks,
Tim
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’ve managed to to this by parsing the key path myself:
If there’s a more direct method I’d love to know it.