-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CoreData 一对多关系 #150
Comments
我也有这样的问题,请问如何解决。。。 |
老师与学生一对多关系
跟踪代码在
@CoderMJLee 有更好的方式去解决一对多的问题吗? |
@jaysonjh 像你这种写法可以达到目的吗? |
Duplicate of #43 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CoreData中的“一对多”的关系使用NSSet而不是NSArray。这样的话,一个NSManagedObject中的关系属性(NSSet *类型),就没法利用objectArrayWithKeyValuesArray来自动生成对象了。请问有什么解决方法吗?
The text was updated successfully, but these errors were encountered: