Welcome to the documentation for the ADNetPromoterScoreSurvey framework. This framework is designed to provide a simple and efficient way to integrate Net Promoter Score (NPS) surveys into your iOS application.
To begin using the ADNetPromoterScoreSurvey framework in your iOS application, follow the steps below:
- Make sure you have Xcode installed on your machine.
- Create a new Xcode project or open your existing project.
- Navigate to the project directory in your terminal.
- Run the command
pod initto create a new Podfile if you don’t have one already.
pod 'ADNetPromoterScoreSurvey'to your Podfile.
- Run the command
pod installto install the ADNetPromoterScoreSurvey framework.
- Open the newly created
.xcworkspacefile in Xcode.
#import <ADNetPromoterScoreSurvey/ADNetPromoterScoreSurvey.h>in your application’s target.
Once you have successfully integrated the ADNetPromoterScoreSurvey framework into your project, you can start using it to collect NPS responses from your users.
To display an NPS survey to your users, follow the steps below:
- Create an instance of the
- Set the survey’s properties, such as the survey question, positive and negative labels, and delegate.
- Present the survey using the
Here’s an example code snippet:
ADNetPromoterScoreSurvey *survey = [[ADNetPromoterScoreSurvey alloc] init]; survey.question = @"How likely are you to recommend our app to a friend or colleague?"; survey.positiveLabel = @"Extremely Likely"; survey.negativeLabel = @"Not Likely"; survey.delegate = self; [survey presentInViewController:self];
By implementing the
ADNetPromoterScoreSurveyDelegate protocol, you can receive callbacks indicating the user’s response to the survey.
For more in-depth information about the ADNetPromoterScoreSurvey framework, please refer to the documentation at the official GitHub repository:
If you encounter any issues or have any questions regarding the ADNetPromoterScoreSurvey framework, you can reach out to our support team:
We strive to provide a timely response and assist you in resolving any problems you may face.