concept uiapplicationdelegate protocol in category ios

appears as: UIApplicationDelegate protocol, The UIApplicationDelegate protocol
Objective-C Fundamentals

This is an excerpt from Manning's book Objective-C Fundamentals.

9.6.1. Implementing the UIApplicationDelegate protocol

As discussed in chapter 7, protocols can have optional messages, which you can selectively decide to implement. The UIApplicationDelegate protocol (implemented by the RentalManagerAppDelegate class in the Rental Manager application) has an optional message called applicationDidReceiveMemoryWarning:, which is sent whenever the application detects a low-memory situation. This message can be implemented as follows: