11. Using Events to Guide Actions
Jesse Feiler1
(1)Suite 1, Plattsburgh, New York, USA
Computers have been getting smaller for years. Not only have their components shrunk from vacuum tubes to transistors, there are now entire systems on a single computer chip.
Users control apps. We launch them; interact with the interfaces; and, when we’re finished, we shut them down. Sometimes as in the case of iOS, when we don’t use them for a while, their data is automatically moved to a safe space to be ready for when we want to use them again. They may never (or rarely) end. They just wait for the next user input.
That’s not how things work now, and ...
Get Learn Computer Science with Swift: Computation Concepts, Programming Paradigms, Data Management, and Modern Component Architectures with Swift and Playgrounds now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.