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

Core Data Auto Migration and Sandboxing

P. Taylor Goetz: Core Data Automatic Migration for NSPersistentDocument requires saving in place, which won’t work in a sandbox-enabled app (even with Read/Write for user selected files). This is like...

View Article


The Return of NetNewsWire

Daniel Pasco: As far as sync is concerned, we knew we would likely need an alternative to Google Reader as early as last year. At the time, the option that seemed to make the most sense was to embrace...

View Article


iCloud and Core Data

Ellis Hamburger:“Many of these issues take hours to resolve and some can permanently corrupt your account,” one top developer told me. “AppleCare has been unable to assist our customers who run into...

View Article

Core Data and SQLite FTS

Apple has yet to bring full text searching to Core Data, or even Search Kit to iOS. Justin Driscoll:I wrote a simple sample app in order to see what kind of performance gain I might see from using a...

View Article

Corrupt iCloud Data Causes iOS SpringBoard Home Screen Crash

Dave Hamilton:This crash was happening regularly, sometimes as often as every 10 minutes. The Apple Store first recommended we wipe the device of all data and NOT restore from a backup. Problem still...

View Article


momdec: Core Data Model Decompiler

Tom Harrington introduces momdec: a command-line tool for Mac OS X that takes a compiled Core Data model and decompiles it to produce an equivalent xcdatamodel or xcdatamodeld suitable for use in...

View Article

The Concurrent Core Data Stack

Florian Kugler: There is also a very clean flow of data from the worker contexts through the main context to the master context, which finally persists all changes. Since in this setup you never touch...

View Article

Dealing With Core Data “Phantom Breakpoints”

Vincent Gable links to this great tip: The condition will ignore any private Core Data exceptions (as determined by the class name being prefixed by _NSCoreData) that are used for control flow.

View Article


momcom: Experimental Core Data Model Compiler

Tom Harrington introduces momcom (the counterpart to momdec): After writing momdec I realized I could probably compile models as well as decompile them. So, I wrote some code to do so. Twitter comments...

View Article


UbiquityStoreManager

Maarten Billemont presents a framework for working around Core Data iCloud bugs (via CocoaPods): While Apple portrays iCloud integration as trivial, the contrary is certainly true. Especially for Core...

View Article

How to Know When Apple Finally Gets iCloud Right

Gus Mueller:Start with an assumption that it’s going to break, and break hard. Give developers tools to analyze and clean things up. Apple gives us pretty great tools for debugging and improving code...

View Article

Clear in the iCloud

Milen Dzhumerov (via Drew McCormack): There has been a lot of talk about iCloud + CoreData (referred to as iCCD hereafter) over the past few months and I think it is a good time for me to share our...

View Article

Dropbox Datastore vs. Core Data and iCloud

Tom Harrington on the new Dropbox Datastore API: The Datastore API may be a good idea if your data model is not highly structured and if your users mostly already have Dropbox accounts. For anything...

View Article


ParcelKit

ParcelKit (via Clark Goble): ParcelKit integrates Core Data with Dropbox using the Dropbox Datastore API. Interesting idea, although it seems like for most data models you would need to layer on top...

View Article

Yojimbo 4.0

Yojimbo 4.0 replaces its MobileMe Mac-to-Mac syncing, not with iCloud, but with Wasabi Sync. Syncing has always been a core feature of Yojimbo, and think it’s a good move for Bare Bones to to control...

View Article


FCModel

Marco Arment: FCModel is a generic model layer on top of FMDB. It’s intended for people who want some of Core Data’s convenience, but with more control over implementation, performance, database...

View Article

Core Data Ensembles

Drew McCormack: Ensembles extends Apple’s Core Data framework to add peer-to-peer synchronization for Mac OS and iOS. Multiple SQLite persistent stores can be coupled together via a file...

View Article


Should You Use Core Data?

Marcel Weiher: When we actually measured the performance of applications adopting CoreData at Apple we invariably got a significant performance regression. Then a lot of effort would be expended by all...

View Article

Exploring the New iWork File Formats

Nick Heer (via Oliver Taylor): I think the new file format is a regression, though. I would love to know the justification for these obfuscated data files, and what advantages they bring over the...

View Article

Apple’s 2013 Scorecard

John Siracusa: At the beginning of last year, I posted a list of things Apple can and should do during 2013. It’s time to settle up. Because I’m feeling scholastic, I’ll give a letter grade to each...

View Article
Browsing all 217 articles
Browse latest View live