Ios swift – How to create a singleton class for amplitude?
I have the following amplitude code that initializes amplitude import AmplitudeSwift let amplitude = Amplitude( configuration: Configuration( apiKey: "YOUR-API-KEY" ) ) The problem is I have to call this code in every file to use amplitude. Is there a way…