4. Event-Driven Programming

Transmitted at the speed of light, all events on this planet are simultaneous. In the electric environment of information all events are simultaneous, there is no time or space separating events.

Marshall McLuhan

This chapter provides an overview of an often underrated aspect of modern programming frameworks: events. In many cases when comparing Objective-C to C#, there are subtle linguistic differences while the core concepts remain the same.

This chapter gives you an overview of what true event-driven programming is, how such programming is accomplished in Objective-C, and finally, how this same type of programming can be accomplished in C# within the context of a Windows Phone 7 application.

What Is Event-Driven ...

Get Windows Phone 7 for iPhone Developers now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.