In this section, we will create the ITwitterWebService class, which will essentially contain various instance methods that will be used by our TwitterWebService class. The advantage of creating an ITwitterWebService class is that it's much easier to add additional class instance methods that will be used by other classes that utilize this interface.
Let's start by creating the ITwitterWebService interface for our TrackMyWalks app by performing the following steps:
- Right-click on the Services folder, and choose Add | New File... from the pop-up menu, as you did in the section entitled Creating and implementing the LocationService interface within Chapter 7, Adding Location-based Features Within Your App.
- Then, choose the Empty Interface option under the General section and enter ITwitterWebService for the name...