Creating and implementing the TwitterAuthDetails class
In this section, we will create the TwitterAuthDetails
class, which will essentially contain various properties and instance methods that will be used by our TwitterWebService
class.
Let's start by creating the TwitterAuthDetails
class for our TrackMyWalks
app by performing the following steps:
- Ensure that the
TrackMyWalks
solution is open within the Visual Studio for Mac IDE. - Next, right-click on the
Services
folder, and chooseAdd | New File...
from the pop-up menu, as you did in the section entitled Creating and implementing the LocationService class within Chapter7, Adding Location-based Features Within Your App. - Then, choose the
Empty Class
option under theGeneral
section and enterTwitterAuthDetails
for the name of the class to be created, as shown in the following screenshot:

Creating the TwitterAuthDetails Class
- Next, click on the
New
button to allow the wizard to proceed and create the new file, as shown in the preceding screenshot...