Interesting problem here:
I've got a handful of textviews connected to a Core Data model. Everything works fine, except one thing.
When I put information into a textview, the entire application slows to a crawl, invoking the beachball.
When I attached a Core Data Instrument to my app's process, NSManagedObjectContext save is being called with each character that is typed. This lag is crippling the entire application.
To make things stranger, the problem is not consistent. Sometimes the app decides it needs to write to the saved document (SQLite, XML, binary, doesn't matter) for each and every character that is typed into the textview, and other times it won't.
Any ideas?
I've got a handful of textviews connected to a Core Data model. Everything works fine, except one thing.
When I put information into a textview, the entire application slows to a crawl, invoking the beachball.
When I attached a Core Data Instrument to my app's process, NSManagedObjectContext save is being called with each character that is typed. This lag is crippling the entire application.
To make things stranger, the problem is not consistent. Sometimes the app decides it needs to write to the saved document (SQLite, XML, binary, doesn't matter) for each and every character that is typed into the textview, and other times it won't.
Any ideas?