On 14 Feb 2014, at 16:36, Fred Kiefer <fredkie...@gmx.de> wrote: > Looks like this is rather a question for David. It is more about the > semantic of ARC for different sorts of ivars, than about NSTextView itself. > In the code you did send the tvIvar ivar was not defined as a property. > In this case I would expect that the compiler wont do anything special.
The semantics of ARC are not complicated when it comes to ivars. They simply do a retain of the new value then a release of the old one, unless the pointer is marked as __unsafe_unretained. If we have public ivars in GNUstep headers that are intended to hold object references that are not retained, then an assignment to them from ARC code will break things. David -- Sent from my PDP-11 _______________________________________________ Bug-gnustep mailing list Bug-gnustep@gnu.org https://lists.gnu.org/mailman/listinfo/bug-gnustep