• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Strange NSManagedObjectContextObjectsDidChangeNotification behavior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange NSManagedObjectContextObjectsDidChangeNotification behavior


  • Subject: Strange NSManagedObjectContextObjectsDidChangeNotification behavior
  • From: Karolis Ramanauskas <email@hidden>
  • Date: Tue, 24 Feb 2009 12:25:42 -0600

Good day, everyone,

I have a core data document based app. There are two windows for each
document. One is the "Inspector" window with mostly NSTableViews
representing objects and their relationships. Another window consists of a
custom view which draws graphical representation of the objects. In my
custom view I use NSManagedObjectContextObjectsDidChangeNotification
observer to refresh the view whenever there are any changes in the
NSManagedObjectContext.

Weird behavior: After adding a few objects whenever I move a mouse over the
NSTableViews (or more accurately NSScrollViews enclosing them), the
NSManagedObjectContextObjectsDidChangeNotification is triggered! Actually it
gets triggered by more than that, but I'm not doing anything to change
NSManagedObjectContext. Why would simply moving a mouse over certain areas
of the before mentioned views trigger that event to fire? It cause
completely unnecessary refreshes and makes the view flicker more than it
should...

Any help is greatly appreciated!

Thanks,
Karolis
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Strange NSManagedObjectContextObjectsDidChangeNotification behavior
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: How can I authenticate using a client certificate with NSURLConnection?
  • Next by Date: Metrics for a NSTextField
  • Previous by thread: How can I authenticate using a client certificate with NSURLConnection?
  • Next by thread: Re: Strange NSManagedObjectContextObjectsDidChangeNotification behavior
  • Index(es):
    • Date
    • Thread