Quantcast
Channel: Core Data – Michael Tsai
Browsing all 217 articles
Browse latest View live

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 Article


NSManagedObjectContext’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 Article


Are 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 Article

Brent’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 Article

Problems 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 Article


Findings 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 Article

CloudKit: 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 Article

Core 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 Article


Core 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 Article


Core 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 Article

Facebook’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 Article

Backtrace 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 Article

iOS 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 Article


CloudPull 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 Article

Core 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 Article


Ember 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 Article

Switching 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 Article


Mac 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 Article

Recover 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 Article

Core 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
Browsing all 217 articles
Browse latest View live