YapDatabase
Robbie Hanson: You cannot store a plain-old NSString in Core Data. It must be wrapped inside a NSManagedObject. Why? Because of the mandate above. An NSString is immutable. And Core Data wants to...
View ArticleNSManagedObjectContext’s Parent Context
Benedict Cohen: parentContext was introduced alongside a new concurrency model. To use parentContext both the parent and child contexts must adopt the new concurrency model. But the problem addressed...
View ArticleAre Core Data Fetched Properties Useful?
Marcus Zarra: Unlike a relationship, there is no way to pre-fetch a fetched property. Therefore, if you are going to fetch a large number of entities and then desire to access the fetched property for...
View ArticleBrent’s Persistence Layer
Brent Simmons: Model objects live on the main thread. This makes it easy to use VSNote, VSTag, and so on in view controllers and in syncing. There is one exception: you can create a “detached” copy of...
View ArticleProblems With Core Data Migration Manager and Journal_mode WAL
Pablo Bendersky: When you use a Migration Manager, Core Data will create a new database for you, and start copying the entities one by one from the old DB to the new one. As we are using journal_mode =...
View ArticleFindings 1.0 and PARStore
Findings from Charles Parnot et. al. looks like a neat app: When doing science and running experiments, it is crucial to keep track of what one is doing, to be able to later reproduce the results,...
View ArticleCloudKit: Moves Like Azure
Tom Harrington: CloudKit makes a refreshing change from iCloud Core Data in that there’s a lot less magic going on in the framework. Using iCloud to sync Core Data is very slick, in that you can...
View ArticleCore Data, External Binary Data Storage, and Migration
Alexander Edge: I have benchmarked the difference between migration using binary data with external storage and using just a unique identifier. The sample project is on GitHub. The test creates 1000...
View ArticleCore Data Editor Is Now Open Source
Christian Kienle: In a little while I will remove Core Data Editor from the Mac App store and offer Core Data Editor as a free download from my website. One of the main reasons for doing so is my...
View ArticleCore Data Batch Updates
Geppy Parziale: First of all, Apple introduced a new method executeRequest:error: in the NSManagedObjectContext class. It is very similar to the executeFetchRequest:error: method that you can use to...
View ArticleFacebook’s iOS Infrastructure
Adam Ernst and Ari Grant gave a presentation at @Scale 2014 about why Facebook switched away from Core Data and MVC to immutable models and their own layout engine that separates the layout from the...
View ArticleBacktrace Album Released
James Dempsey and the Breakpoints (iTunes): Backtrace steps through fourteen years of Mac and iOS development tunes, taking you on a musical journey into the biggest album release in iOS and Mac...
View ArticleiOS App Postmortem
Nat!: The project started out on iOS 5, which was quickly succeeded by iOS 6. I would have been extremely surprised at the beginning, if someone had told me, that at the time of iOS 8s release our app...
View ArticleCloudPull Removed From the Mac App Store
John Brayton (via John Gordon): The most significant improvement in the CloudPull 2.6 update is Yosemite compatibility. I submitted this update to the Mac App Store on October 1. Apple rejected it on...
View ArticleCore Data Relationships Data Loss Bug
Tom Harrington notes that several developers (including James Dempsey and Rich Siegel) have encountered a bug with Core Data’s -[NSPersistentStoreCoordinator...
View ArticleEmber and iCloud Core Data
Dan Counsell: One of the biggest challenges we faced last year with Ember was sync. Once you start using Ember, it’s incredibly easy to build up a substantial library - and customers upgrading from...
View ArticleSwitching From Core Data to Realm
Tim Oliver (tweet): Tim Oliver, creator of the iComics app, gave a talk featuring Realm in his project at the Perth iOS Meetup. His talk covered gave a quick background of his transition to and...
View ArticleMac OS X 10.10.2
The Mac OS X 10.10.2 update fixes the Thunderstrike exploit, among other security bugs. (Good luck if you have a Thunderbolt-equipped Mac but aren’t running Yosemite.) It claims to fix Wi-Fi issues,...
View ArticleRecover Data Lost Because of iCloud Sync Problems
Kirk McElhearn: So, there are a couple of morals to this story. First, don’t trust iCloud. I don’t blame Realmac; it’s probably not their fault. I find it interesting that the data loss occurred...
View ArticleCore Data vs. ARC
Matt Drance: 1) Create NSManagedObjectContext 2) Fetch 2) Pass results to a method I’ve seen ARC kill the MOC before line 3. With at-autoreleasepool, you could optimize given advanced knowledge. Now...
View Article