What does the text inside parentheses in @interface and @implementation directives mean?
Solution 1:
Those are called Categories
and allow you to add further functionality to your classes.
A category allows you to add methods to an existing class—even to one for which you do not have the source. Categories are a powerful feature that allows you to extend the functionality of existing classes without subclassing. Using categories, you can also distribute the implementation of your own classes among several files. Class extensions are similar, but allow additional required APIs to be declared for a class in locations other than within the primary class @interface block.
From the Apple docs on Categories and Extensions.
Solution 2:
Those are "categories".
With those you can extend any objective-C class by adding methods, which will apply to all the objects of the class.
More detailed article here: http://macdevelopertips.com/objective-c/objective-c-categories.html