Importing Data Made Easy

| Blog | May 29, 2012

Importing data is a problem that feels like it should have a library of work ready for you to use. Especially when it comes to importing data into Core Data where you have a description of your data toworkwith.What

Continue reading »

Unit Testing with Core Data

| Blog | May 15, 2012

Whether you subscribe to Test Driven Development (TDD) or another testing practice, when it comes automated unit testing with Core Data, things can be a little tricky. But if you keep it simple, and takethingsstepby

Continue reading »

Handling incoming JSON redux

| Blog | January 11, 2012

A few months ago I wrote here about a generic approach to safely take incoming JSON and save values to Core Data object. The goals of that code were twofold:

  1. Provide a safe, generic alternative toCocoa’s-setValuesForKeysWithDictionary:for

    Continue reading »

Parent Watching Its Child

| Blog | October 14, 2011

Recently on StackOverflow I have seen several questions regarding the desire for a parent Entity to be updated whenever an attribute within the child has changed.

There are several different ways to solvethisproblem.The

Continue reading »

Core Data and the Undo Manager

| Blog | October 11, 2011

Note: This is a re-print from the Mac Developer Network.

One of the nice things about developing software for OS X is all the “freebies” we get out of Cocoa. For example, when we are building a UIwithtextinput

Continue reading »

Importing and displaying large data sets in Core Data

| Blog | August 22, 2011

Note: This is a re-print from the Mac Developer Network.

I tend to frequent the StackOverflow website and watch for questions about Core Data. Generally if it is a question I can answer I will and ifitisa

Continue reading »

Transient Entities and Core Data

| Blog | August 8, 2011

Core Data has many features, one of which is the Transient attribute. This type of attribute on a Core Data entity is part of a data model, but is not persisted in your Core Data persistent store. If youopenupthe

Continue reading »

Saving JSON to Core Data

| Blog | June 2, 2011

Hi, I’m new here. You may know me as @atomicbird on Twitter. Just a few days ago my book Core Data for iOS: Developing Data-Driven Applications for the iPad, iPhone, and iPod touch (co-written withtheexcellentTim

Continue reading »

Core Data and Threads, Without the Headache

| Blog | May 4, 2011

I know I mentioned we would talk about customizing the fetch requests, however, I have been working on some code related to the Active Record Fetching project, which I am renaming to MagicalRecord, thatisalsojust

Continue reading »

Super Happy Easy Fetching in Core Data

| Blog | March 13, 2011

First up, I want to thank Matt Long and Marcus Zarra for allowing me to guest post on CIMGF. This post is the first in a short series of topics describing how to I’ve made using Core Data a littlesimplerwithoutgiving

Continue reading »