Add images in NSAttributedString and save to Core Data peformance
问题 I'm encountering this huge performance issue while saving the NSAttrbutedString with images in it to Core Data. There is a UITextView where allows the user to input text as well as adding images. When user finishes typing and click ' done ' button, it will be saved to CoreData, and shows in a TableView. Here is how I save the content when click 'done' button: Create a private MOC and assign the AppDelegates managedObjectContext as its parent MOC. privateMOC = NSManagedObjectContext