view! control! model!
Wednesday, September 10th, 2008o hai. It’s been a while. Well, I have a day job too, you know. But that doesn’t stop me, it just slows me down. Soo, on a long train ride on Sunday I managed to clean up my code mess a bit and I had this brilliant idea: why not create an object that keeps the data and which can be accessed by all the controller (and which e.g. could be stored in a pfile to save the state of the application).
As it turns out, I was late, again. View! Control! Model! that is the teaching of the cocoa (has anyone seen the strange commercial for ice-cream, I think it was Magnum, where a bunch of women in the jungle pray and dance with their chocolate covered Magnum? strange world we live in…)
Now the app does all that and even shows an about screen. And if the searched destination or location is not unique the user gets a fancy table to choose from. It’s not spore, but it didn’t take me seven years either. Next I have to figure out how to get that into the app store.
PS: If you were wondering: I purposely ignored last nights Apple “event” in this post.
