Instead of writing another article, I’ve decided to simply publish a sample project demonstrating interactive transition between collection view layouts. It’s quite nice. See it in action here.
You can find sample code on my Github.
Feel free to submit pull requests when improving on this code base.
Weekends are awesome. I don’t get up super early and most of the time get an opportunity to work on personal projects, read up on new advances in Swift, catch up on news, etc.
Today I needed to migrate my Core Data model to a new version. Fortunately for me, light weight migration was enough and I didn’t have to perform the migration using a Mapping Model. Renaming attributes however is a bit more involved than simply adding attributes. This, of course, meant I would have something to write about… although, admittedly, I had another topic in mind for this week’s article.
Light weight migrations are pretty straight forward; Core Data takes care of everything by inferring mapping model from differences between the source and destination models.
Continue reading “Core Data – Renaming Attributes”