These sample projects demonstrate typical usage of the ForeSee SDK.
All sample projects use Cocoapods. The Pods and workspace folders are included, so it isn't strictly necessary to manually install anything. However, to guarantee that you're using the latest version of the SDK, run:
$ pod update
in the project's root directory.
All projects can be found in:
Note: This project should be installed to the primary drive to ensure that the projects will run correctly.
This sample project demonstrates a basic implementation of the ForeSee trigger code in an empty iPhone app. It uses the provided FSInviteView to show a modal dialog to the user inviting them to take a survey when they have met the configured threshold.
This sample project demonstrates a basic Swift implementation of the ForeSee trigger code. It uses a bridging header to include the SDK.
This example shows how to provide a user's contact information to the SDK for use in a CONTACT mode survey.
This example demonstrates the use of a custom invite handler.
This sample project demonstrates how you can customize the default Invite View (FSInviteView) with text of your choosing. It also demonstrates how you can localize the invitation text using standard localization techniques for iOS. The demo app supports English, French, and Spanish. Simply change the language setting of the test device to see the invite in another language.
All strings used by the FSInviteView class are defined in the Localizable.strings file.
This sample project demonstrates a local notification invite. Accept the invite and then close the application. You will receive a local notification linking the survey.
This sample project demonstrates cxReplay.