In this section, we will begin creating the ButtonShadowEffect class for the iOS section of our TrackMyWalks solution, which will essentially contain platform-specific methods that will be used by our ButtonShadowEffect class. The advantage of creating a ButtonShadowEffect class is that it's much easier to modify or add additional control properties that will be used by the XAML pages that utilize this class.
Let's start by creating the ButtonShadowEffect class for our TrackMyWalks app by performing the following the steps:
- Ensure that the TrackMyWalks solution is open in the Visual Studio for Mac IDE.
- Right-click on the TrackMyWalks.iOS project, choose Add|New Folder from the pop-up ...