Skip to content

Commit 6e28cfa

Browse files
committed
Added Feedback and Updates
added subj decription
1 parent 234b77b commit 6e28cfa

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,30 @@ Enabling issue reporter is that easy as just adding to the `-applicationDidFinis
5252
[DevMateKit setupIssuesController:nil reportingUnhandledIssues:YES];
5353
````
5454
55-
More info of issue reporter usage you can find in the [wiki article](https://github.com/DevMate/DevMateKit/wiki/Issue-Reporter).
55+
More info of issue reporter usage you can find in the [wiki article](https://github.com/DevMate/DevMateKit/wiki/Issue-Reporter).
56+
57+
## Feedback Setup
58+
59+
To allow your users sending feedback messages you need to do the following:
60+
61+
1. Add the following method to your application delegate class implementation:
62+
63+
````objective-c
64+
- (IBAction)showFeedbackDialog:(id)sender {
65+
[DevMateKit showFeedbackDialog:nil inMode:DMFeedbackDefaultMode];
66+
}
67+
````
68+
69+
2. Connect action method you just added with corresponding menu item or button inside your XIB files.
70+
71+
3. Build and run your application. Send a feedback message as you defined in previous step. If everything was done correctly, your message will be displayed in [Feedback Management](http://docs.devmate.com/v1.0/docs/feedback-management) DevMate section.
72+
73+
##Updates Setup
74+
75+
To keep user of your app updated, do the following.
76+
77+
1. Add **com.devmate.UpdateInstaller.xpc** component to your project. Read more [here](http://docs.devmate.com/v1.0/docs/updates#install-necessary-xpc-components) if you need help.
78+
79+
2. Add new Object component from _'Object library'_ to your main XIB file and change its class name to `SUUpdater`.
80+
81+
3. Build and run your application and try to update.

0 commit comments

Comments
 (0)