adnetpromoterscoresurvey

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.

Getting Started

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 init to create a new Podfile if you don’t have one already.
  • Add pod 'ADNetPromoterScoreSurvey' to your Podfile.
  • Run the command pod install to install the ADNetPromoterScoreSurvey framework.
  • Open the newly created .xcworkspace file in Xcode.
  • Import #import <ADNetPromoterScoreSurvey/ADNetPromoterScoreSurvey.h> in your application’s target.

Usage

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:

  1. Create an instance of the ADNetPromoterScoreSurvey class.
  2. Set the survey’s properties, such as the survey question, positive and negative labels, and delegate.
  3. Present the survey using the presentInViewController: method.

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.

Documentation

For more in-depth information about the ADNetPromoterScoreSurvey framework, please refer to the documentation at the official GitHub repository:

https://github.com/your-repository

Support

If you encounter any issues or have any questions regarding the ADNetPromoterScoreSurvey framework, you can reach out to our support team:

Email: support@yourcompany.com

We strive to provide a timely response and assist you in resolving any problems you may face.