Wednesday, February 18, 2009

All Generic Controllers to Date (Zip File)

I recently refactored my generic navigation-controller views to reduce redundancy among them. Included in the zip file are the following generic controllers:


You can download the zip file here.

Note: If you downloaded these before 8:01pm EST, on February 18, you should re-download them. There was a problem with the generic date view controller in the original zip.



8 comments:

cjr said...

These are great - thanks for posting them! I've also learned loads, particularly using protocols to communicate between entities...

nskboy said...

Thanks Jeff! Very useful tools for everyday iPhone programming.

gmaletic said...

(Sorry if this is a duplicate...)

Yes, thanks for posting these. I implemented a few classes in an attempt to do this same thing, but I think I'm going to switch to yours, in part because they're battle-tested, in part because I think you probably took a better approach than I did. (Mine uses selectors to callback to objects rather than protocols/delegates. Advantages and disadvantages to both, but because the protocol/delegate approach makes it easy to execute arbitrary code on an update, I think it's probably superior.)

Have you tried to tackle the problem of abstracting the task that happens just before this: a reusable property sheet that displays object properties, and when you click on the properties, it launches the appropriate one of your controller/editors? Or do you think these kind of property sheets resist re-use? (Sorry if my explanation is poor...)

Jeff LaMarche said...

gmaletic:

I haven't tried to do that yet. It's certainly possible - Apple does something similar with the Settings Bundles, but it honestly never occurred to me to try. I may have to give it a shot when I have some time. Could make life much easier on larger applications.

Thanks for the suggestion,
Jeff

Edwin said...

scrub m65 kamagra attorney lawyer body scrub field jacket lovegra marijuana attorney injury lawyer

Alex said...

I had a lot of zip files on my PC. And once something happened with them. To my good fortune I quickly found out a good tool, which perhaps can decide different tasks - zip file repair.

h4ns said...

What youre saying is completely true. I know that everybody must say the same thing, but I just think that you put it in a way that everyone can understand. I also love the images you put in here. They fit so well with what youre trying to say. Im sure youll reach so many people with what youve got to say.

Arsenal vs Huddersfield Town live streaming
Arsenal vs Huddersfield Town live streaming
Wolverhampton Wanderers vs Stoke City Live Streaming
Wolverhampton Wanderers vs Stoke City Live Streaming
Notts County vs Manchester City Live Streaming
Notts County vs Manchester City Live Streaming
Bologna vs AS Roma Live Streaming
Bologna vs AS Roma Live Streaming
Juventus vs Udinese Live Streaming
Juventus vs Udinese Live Streaming
Napoli vs Sampdoria Live Streaming
Napoli vs Sampdoria Live Streaming
Fulham vs Tottenham Hotspur Live Streaming
Fulham vs Tottenham Hotspur Live Streaming
AS Monaco vs Marseille Live Streaming
AS Monaco vs Marseille Live Streaming
Alajuelense vs Perez Zeledon Live Streaming
Alajuelense vs Perez Zeledon Live Streaming
Technology News | News Today | Live Streaming TV Channels

SazzadTusharKhan said...

Where is the *.xcodeproj file?