Home Segments Index Top Previous Next

781: Mainline

Categories and protocols simplify the filing-out operations initially explained in Chapter 30. In that chapter, you learned that you can file out the definition of particular class, along with all the methods defined for that class, or, alternatively, you can file out just one method. Now, with categories and protocols, you have additional flexibility: you can file out by category, thus filing out all the associated classes and methods, and you can file out by protocol, thus filing out all the associated methods.