Mathieu Tozer's Dev Blog

Cocoa, the development of Words, and other software projects (including those dang assessment tasks).




Words: A Conservative Milestone - Manual Lists


E-mail this post



Remember me (?)



All personal information that you provide here will be governed by the Privacy Policy of Blogger.com. More...



Been a bit quiet here for the past couple of days, been working on implementing groups for Words. I tried to follow the example of Apple's CoreRecipes app, but while I understood what was going on, the implementation directly ported wouldn't have worked with Words. In the recipes app, the highest Entity is the Recipe, whereas in Words, it is Language. Anyway to cut a long story short, I've taken the Mr. Obvious route and used a simple model for groups. I think I should be able to set up smart lists using a fetched property in a SmartList entity without too much hassle, which will fetch 'whatever' (whatever being specified by the user / system) and tell the WordArrayController to display it. Which will also allow me to have a 'fetch all the words in this language' which will be set as default and will be, in fact, the Words equivalent of the iTunes 'Library'.

If I WERE to use the fangled smart list stuff, I thought that a Language Array Controller would then in turn manage which GroupTreeController was active, which would then determine what words were accessable by the WordsArrayController. Anyway maybe that's for a later day when I am feeling more comfortable with Cocoa and Core Data. Right now while I'm essentially prototyping my App I'm going to TELL MYSELF it's OK to take the easy road. For Now. Ok I'm done. No really.

Sigh.

Honestly I really would have rathered I'd gotten the more fancy stuff working.

Here's what we have then:

With this data model


0 Responses to “Words: A Conservative Milestone - Manual Lists”

Leave a Reply

      Convert to boldConvert to italicConvert to link

 


+RSS | dev blog | Portfolio

About me

My status

Previous posts

  • my del.icio.us
  • my flickr