-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
210 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// | ||
// ATSurveyMetrics.h | ||
// ApptentiveConnect | ||
// | ||
// Created by Andrew Wooster on 6/2/12. | ||
// Copyright (c) 2012 Apptentive, Inc. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
NSString *const ATSurveyDidShowWindowNotification; // survey.launch | ||
NSString *const ATSurveyDidHideWindowNotification; // survey.cancel or survey.submit | ||
NSString *const ATSurveyDidAnswerQuestionNotification; // survey.question_response | ||
|
||
NSString *const ATSurveyWindowTypeKey; | ||
NSString *const ATSurveyMetricsEventKey; | ||
NSString *const ATSurveyMetricsSurveyIDKey; | ||
NSString *const ATSurveyMetricsSurveyQuestionIDKey; | ||
|
||
typedef enum { | ||
ATSurveyWindowTypeSurvey, | ||
} ATSurveyWindowType; | ||
|
||
typedef enum { | ||
ATSurveyEventUnknown, | ||
ATSurveyEventTappedCancel, | ||
ATSurveyEventTappedSend, | ||
ATSurveyEventAnsweredQuestion, | ||
} ATSurveyEvent; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// ATSurveyMetrics.m | ||
// ApptentiveConnect | ||
// | ||
// Created by Andrew Wooster on 6/2/12. | ||
// Copyright (c) 2012 Apptentive, Inc. All rights reserved. | ||
// | ||
|
||
#import "ATSurveyMetrics.h" | ||
|
||
NSString *const ATSurveyDidShowWindowNotification = @"ATSurveyDidShowWindowNotification"; | ||
NSString *const ATSurveyDidHideWindowNotification = @"ATSurveyDidHideWindowNotification"; | ||
NSString *const ATSurveyDidAnswerQuestionNotification = @"ATSurveyDidAnswerQuestionNotification"; | ||
|
||
NSString *const ATSurveyWindowTypeKey = @"ATSurveyWindowTypeKey"; | ||
NSString *const ATSurveyMetricsEventKey = @"ATSurveyMetricsEventKey"; | ||
NSString *const ATSurveyMetricsSurveyIDKey = @"ATSurveyMetricsSurveyIDKey"; | ||
NSString *const ATSurveyMetricsSurveyQuestionIDKey = @"ATSurveyMetricsSurveyQuestionIDKey"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.