In this section, we'll take a look at how to create the IBookDatabase class that will essentially contain various instance methods that will be used by our BookDatabase class. The advantage of creating an IBookDatabase class is that it's much easier to add additional class instance methods that will be used by any classes that utilize this interface.
Let's start by creating the IBookDatabase interface for our BookLibrary app by going through the following steps:
- Ensure that the BookLibrary.iOS solution is open within the Visual Studio for Mac IDE.
- Next, right-click on the BookLibrary project and choose Add | New Folder from the pop-up menu, as shown in the following screenshot: