iPhoneCoreDataRecipes Explained…

Im going thru this Apple app and im noting my progress in understanding it.  Any comments are appreciated. black = unanswered questions red = my answers so far blue = partially answered on the blog itself green = less important, design questions maybe… RecipeListTableViewController.m 1) Why @class Recipe and @class RecipeTableViewCell 2)  They adopt a RecipeAddDelegate & NSFetchedResultsControllerDelegate protocols? YES…Ive never seen a protocol before.  I guess the NSFRC protocol class is a UIKit class but i had never seen a customcreated class be used as a protocol…COOL! 3)  Why do we declare showRecipe & configureCell methods but not the add:method or the whole bunch of others…. 4)  When creating… Read More

Continue Reading

Paparazzi Stanford CS193

I’m starting CS193p this new semester again because the Assignment this time around is Paparazzi, a Flickr client which uses CoreData and it’ll be a good experience! I’ve started with the static view controllers and noticed I was a little rough around the edges in alloc/initting view controllers (mainly nav and tabbar). However I got thru it. Then I moved on to Part 2 where you use the plist file to populate the CoreData model which is where I am currently and am stuck! This time around, unlike the Twitter App, we have to use the plist file to populate the db. I’ve got the object model set up, which… Read More

Continue Reading