concept protocol inheritance in category swift

This is an excerpt from Manning's book Swift in Depth.
For convenience, you can apply protocol inheritance to further constrain a protocol. Protocol inheritance means that you create a new protocol that inherits the definition of another protocol. Think of it like subclassing a protocol.
You’ll see that it takes more than merely getting your code to compile. You also have the problem that code can be too decoupled, and understanding which methods you’re calling can be hard; even more so when you mix protocols with protocol inheritance while overriding methods. You’ll see how protocols are not always easy to comprehend. But when applied correctly, protocols enable you to create highly flexible code. At first, you’re going to see how protocols enable you to model your data horizontally instead of vertically, such as with subclassing. You’ll also take a look at how protocol extensions work and how you can override them.
Then you’ll model a mailing API in two ways and consider their trade-offs. First, you’ll use protocol inheritance to deliver a default implementation that is more specialized. Then, you’ll model the same API via a signature feature called protocol composition. You’ll see the benefits and downsides of both approaches side by side.
To make things a bit more challenging, you’ll introduce protocol inheritance. This time you’ll introduce another protocol called Plant. Tree inherits from Plant. Oak still implements Tree. Plant also offers a default implementation of grow(), which Tree overrides.