|
|
|
Wll, I nearly finished my assignment 2. I still need to clean up and do the extra bonus stuff. This assignment was already much more difficult. I had trouble getting into the task, as I did not understand it at first. In hindsight I am not sure why. I guess the description is rather difficult. But in the end I got the app running and it seems to work.
My main trouble was the memory management. It turned out that I used allocation methods that implied autoreleased objects. So I lost my objects after an event loop. Once I discovered this, I had solved the assignment.
At the moment I do not find my code very clean, so I will go through it once more and see whether I can streamline it a bit more. I will change normal declarations to properties (as also required for the bonus). And I still have to set up the delegates methods for the bonus points. I also need to think a bit more about the resilience against entering faulty expressions.
But then it will be done. I learned a lot from this assignment. It is surely not for the beginning programmer though.