Calendars and Events.

October 1, 2008

If anyone wants to play with the code for the calendar view, here it is. You can compile and run it as it is, double-clicking on any day will add an event object to the calendar that will remain visible while the program is running. There still are quite a few things that need to be done and fixed, but it’s pretty complete right now and renders very fast. Check it out HERE

JSCalendar v0.1

JSCalendar v0.1

Advertisements

It’s Summer Already!

August 9, 2008

This summer has gone by way too fast. A small post to let anyone out there know that I have been working on this thing with whatever time I can muster. I got quite a bit done under way, but not nearly as much as I hoped. In addition, the calendar view I was going to use was taking too much time to get it working, so I had to go ahead and make my own. I think it will be much more robust and will look and behave better than the one I was going to use anyway. Here is a picture of it by itself:

A new calendar class that looks and behaves nice.

A new calendar class that looks and behaves nice.

If there are people out there, and I know a few of you find this blog occasionally, I’d gladly accept input on features and other ideas you may want out of a fitness tracking application.


Spent the day cleaning…

March 16, 2008

Well, I knew I had some memory leaks, but I didn’t realize they were so bad until I profiled it. 64MB after one fetch request.

So I went through the program and fixed the leaks, and reduced them down to  64KB, which I don’t know if I can actually get rid of since they are associated with NSNumber calls. I cannot find any Apple documentation that says whether these objects are autoreleased or not. Or even retained for that matter, since the program crashes if I don’t retain them, but if I release them myself, the program crashes. What gives? Anyway, I’m glad I went through to find these problems now, as opposed to later!

 I am going to implement a goal-oriented approach to workout tracking in Fitness.app, since traditional workout routines can be used for many different personal goals ranging from weight loss and weight gain to strength routines, and endurance training. CrossFit peeps won’t have to worry though, I’m keeping you guys top priority.

I’ve been thinking about what I can build for the iPhone / iPod Touch, and am keeping this in the back of my mind, since my main focus is this program. I know I will integrate this program with a portable version, whether the portable version will be feature rich, or just a way to record daily activities is dependent on the amount of free time I have, which currently is very little.