OK, I managed to replicate my problem in this example project:
http://strangeinversion.com/weird.zip

If you are interested download it, only 44KB. It contains two core data
entities: BigBagOfFruit and Fruit.

1. Run the program
2. Add a bag
3. Now add some fruit in it ;)
4. Move your mouse around the window and look at your console:
NSManagedObjectContextObjectsDidChangeNotification get called all the
time...
5. Go to fruit class, comment out: [self setName:@"Banana"];
6. Repeat 1 through 4, problem is gone.

That's what I noticed in my program, whenever there is ANY SETTER within the
draw method that is called from MyView's drawRect, I get this behavior.

Any thoughts?
Thanks a lot.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to