Skip to main content

This is ZX81.org.uk

NSFetchedResultsController and iCloud

This took me a while to figure out so I thought it was worth blogging about. The short version: I’m using Core Data with iCloud syncing and it works… mostly. When starting up for the first time — when there is already data in iCloud — none of the data appears in a table view, but restarting the app correctly displays it.

I know what you’re thinking: you’re not merging the updates into the right managed object context. Nope. Sorry. Thinking that was the problem is probably why it took me quite so long to track the real problem down!

That was 2013

It’s a cliche to ask where the year has gone but it’s no less true this year than any other. Life has got in the way of blogging more than usual — moving house, a toddler, work — with only 23 posts this year and only one of those making my “most read” list.

Talking of which, these are the most read blogs this year:

  1. iOS Developer Program: from individual to company
  2. iPhone Dev: Saving State
  3. Do Apple take 40% in the EU?
  4. AQGridView to UICollectionView
  5. Old Fashioned

Probably my favourite blog of the year was “What to do?” but I posted it a little too late to get the readership that I would have liked.

Big day

[![](https://i0.wp.com/farm8.staticflickr.com/7342/10992669726_91f6213278.jpg)](http://www.flickr.com/photos/stephendarlington/10992669726/ "photo sharing")[Handing over the keys to my old flat.](http://www.flickr.com/photos/stephendarlington/10992669726/), originally uploaded by [stephendarlington](http://www.flickr.com/photos/stephendarlington/).
Friday was a big day. Not only did I finally sell my flat — this is a picture of me handing over my keys — but I also found out that we’re expecting baby girl in April next year.

The only thing that would have made it bigger would have been if the Doctor Who fiftieth anniversary show was on the same day. But I had to wait another day for that.