Mathieu Tozer's Dev Blog

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




About noodle timer

0 comments

noodle timer v1_0.jpg

download noodle timer

Just a clock on, clock off thing really. I want to know what I'm working on day to day by context. Might be useful, might not! We'll see.

Some development notes:

I couldn't get Core Data to save, so I got desperate and made the app again. What I think I learnt firsthand from rebuilding the entire thing from scratch (it only took 3 minutes to do) was that you should always chuck out your prototype. (I read this somewhere: Joel on software I think). Never ship a product based on your prototype.

Having said that, this tiny thing is an automatically generated prototype (thanks Core Data) but it's a nice clean one.

Other things I learnt:
1. That the cocoa-dev mailing list is very helpful.
2. How to get the selected item in a table view.
3. How to update managedObjects in code.
4. That not every app needs a myController. I used the appdelegate for the two buttons that weren't auto generated.


Programming Thoughts

0 comments

When programming, I think it's important to stop after you've hit a
milestone and relish in the feeling of accomplishment. If you learn
to love this feeling, you'll seek to attain it more often, and you'll
be better and more determined to get your code to work.


The Importance of Coding conventions

0 comments

It can waste you 20 minutes trying to find a 'bug'.

push @{$todaysWords{$current}}, "$linecount";
not
push @{$todaysWords{$current}}, "$lineCount";

Meh. I should have stuck to my regular convention.


+RSS | dev blog | Portfolio

About me

My status

Last posts

  • my del.icio.us
  • my flickr