What's -mutableSetValueForKey: returning, actually? Is that something special?
Posted
by dontWatchMyProfile
on Stack Overflow
See other posts from Stack Overflow
or by dontWatchMyProfile
Published on 2010-06-11T13:30:12Z
Indexed on
2010/06/11
13:42 UTC
Read the original article
Hit count: 145
From the docs:
You usually access to-many relationships using mutableSetValueForKey:, which returns a proxy object that both mutates the relationship and sends appropriate key-value observing notifications for you.
So this returns an "intelligent" NSMutableSet which automatically lets the context delete objects when they get deleted from the set, and reverse? Is that a proxy object?
© Stack Overflow or respective owner