In this section, we will begin creating the LabelShadowEffect class for the iOS section of our TrackMyWalks solution, which will essentially contain platform-specific methods that will be used by our LabelShadowEffect class. The advantage of creating a LabelShadowEffect class is that it's much easier to modify or add additional control properties that will be used by those XAML pages that utilize this class.
Let's start creating the LabelShadowEffect 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.
- In the TrackMyWalks.iOS project, right-click on the CustomEffects folder and choose Add|New ...