0 comments
Published Friday, April 21, 2006 by Mathieu.
download noodle timerJust 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.
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.
0 comments
Published Thursday, April 20, 2006 by Mathieu.
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.