{"_id":"591f17b321d2ff0f00cf5a6c","parentDoc":null,"__v":0,"project":"547cd7662eaee50800ed1089","user":"547cd6ac78fd57080023ca99","version":{"_id":"591f17ae21d2ff0f00cf5a3f","__v":1,"project":"547cd7662eaee50800ed1089","createdAt":"2017-05-19T16:05:02.775Z","releaseDate":"2017-05-19T16:05:02.775Z","categories":["591f17af21d2ff0f00cf5a40","591f17af21d2ff0f00cf5a41","591f17af21d2ff0f00cf5a42","591f17af21d2ff0f00cf5a43","591f17af21d2ff0f00cf5a44","591f17af21d2ff0f00cf5a45","591f17af21d2ff0f00cf5a46","591f17af21d2ff0f00cf5a47","591f17af21d2ff0f00cf5a48"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.1","version":"1.0.1"},"category":{"_id":"591f17af21d2ff0f00cf5a47","project":"547cd7662eaee50800ed1089","__v":0,"version":"591f17ae21d2ff0f00cf5a3f","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-03-27T13:16:34.125Z","from_sync":false,"order":7,"slug":"tips-and-tricks","title":"Tips and Tricks"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-07-15T09:57:25.323Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":46,"body":"We've added some examples on [GitHub](https://github.com/DevMate/DevMateKit/tree/master/Examples) to help you with understanding on how DevMateKit works, so here is their description.\n\n## [TrackingExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/TrackingExample)\nTest application that sends tracking report to DevMate. Change `DM_CUSTOM_TRACKING_INTEGRATION` macro before building target to see the delegate methods in use.\n\n## [FeedbackExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/FeedbackExample)\nTest application that sends feedback messages to the server. Change `DM_CUSTOM_FEEDBACK_INTEGRATION` macro before building target to use customized window for feedback dialog.\n\n## [IssuesExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/IssuesExample)\nTest application that sends crash and exception reports to the server. This target contains examples of using standard dialog (out-of-the-box) and customized window for the main dialog. Feel free to play with it.\n\n## [UpdatesExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/UpdatesExample)\nTest application that checks for updates and updates itself if needs. The core of this feature is Sparkle, so if you want to customize UI, you need to fork [DevMate Sparkle project](https://github.com/DevMate/Sparkle) and define `USED_CUSTOM_SPARKLE_FRAMEWORK` macro before importing DevMateKit master header (`#import <DevMateKit/DevMateKit.h>`).\n\n## [TimeTrialExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/TimeTrialExample)\nTest application that starts a week trial if an app is not activated. Change `DM_CUSTOM_TRIAL_INTEGRATION` macro before building target to use customized dialog window. Feel free to play with the delegate methods to check how it works.\n\n## [CustomTrialExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/CustomTrialExample)\nTest application that starts a trial with `DM_TRIAL_CLICK_COUNT` button clicks if it’s not activated. Change `DM_CUSTOM_TRIAL_INTEGRATION` before building the target to use customized dialog window. Feel free to play with delegate methods to check how it works.\n\n## [ActivationsExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/ActivationsExample)\nTest application that starts activation dialog if an app is not activated. In a case of defining `DM_CUSTOM_ACTIVATION_INTEGRATION` macro before building the target there is a registration custom step controller which shows license info and custom dialog window will be used. Feel free to play with delegate methods to check how it works.\n\n## [EmbeddedStoreExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/EmbeddedStoreExample)\nTest application that uses special delegate methods of activation controller to setup and runs own embedded store.\n\n## [URLSchemeExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/URLSchemeExample)\nTest application that starts activation process using URL scheme. Explore special `Info.plist` file and its content for `CFBundleURLTypes` key. For testing this feature carefully read comments at the beginning of `URLSchemeExample/DMActivationsDelegate.m` file.\n\n## [SwiftExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/SwiftExample)\nTest application with Swift 2 codebase that uses integrated DevMateKit framework.","excerpt":"","slug":"github-examples-description","type":"basic","title":"GitHub Examples Description"}

GitHub Examples Description


We've added some examples on [GitHub](https://github.com/DevMate/DevMateKit/tree/master/Examples) to help you with understanding on how DevMateKit works, so here is their description. ## [TrackingExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/TrackingExample) Test application that sends tracking report to DevMate. Change `DM_CUSTOM_TRACKING_INTEGRATION` macro before building target to see the delegate methods in use. ## [FeedbackExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/FeedbackExample) Test application that sends feedback messages to the server. Change `DM_CUSTOM_FEEDBACK_INTEGRATION` macro before building target to use customized window for feedback dialog. ## [IssuesExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/IssuesExample) Test application that sends crash and exception reports to the server. This target contains examples of using standard dialog (out-of-the-box) and customized window for the main dialog. Feel free to play with it. ## [UpdatesExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/UpdatesExample) Test application that checks for updates and updates itself if needs. The core of this feature is Sparkle, so if you want to customize UI, you need to fork [DevMate Sparkle project](https://github.com/DevMate/Sparkle) and define `USED_CUSTOM_SPARKLE_FRAMEWORK` macro before importing DevMateKit master header (`#import <DevMateKit/DevMateKit.h>`). ## [TimeTrialExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/TimeTrialExample) Test application that starts a week trial if an app is not activated. Change `DM_CUSTOM_TRIAL_INTEGRATION` macro before building target to use customized dialog window. Feel free to play with the delegate methods to check how it works. ## [CustomTrialExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/CustomTrialExample) Test application that starts a trial with `DM_TRIAL_CLICK_COUNT` button clicks if it’s not activated. Change `DM_CUSTOM_TRIAL_INTEGRATION` before building the target to use customized dialog window. Feel free to play with delegate methods to check how it works. ## [ActivationsExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/ActivationsExample) Test application that starts activation dialog if an app is not activated. In a case of defining `DM_CUSTOM_ACTIVATION_INTEGRATION` macro before building the target there is a registration custom step controller which shows license info and custom dialog window will be used. Feel free to play with delegate methods to check how it works. ## [EmbeddedStoreExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/EmbeddedStoreExample) Test application that uses special delegate methods of activation controller to setup and runs own embedded store. ## [URLSchemeExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/URLSchemeExample) Test application that starts activation process using URL scheme. Explore special `Info.plist` file and its content for `CFBundleURLTypes` key. For testing this feature carefully read comments at the beginning of `URLSchemeExample/DMActivationsDelegate.m` file. ## [SwiftExample](https://github.com/DevMate/DevMateKit/tree/master/Examples/SwiftExample) Test application with Swift 2 codebase that uses integrated DevMateKit framework.