OpenFeedback w/crash reports
I’ve checked several in-app user feedback frameworks, but found Tyler Hall’s OpenFeedback most usable - the code is very readable and consistent and it’s visually appealing as well. However I’ve been missing crash reporting option, so I’ve decided to roll my own.
To use it, just send presentFeedbackPanelIfCrashed message to OpenFeedback instance sometime during your application startup (most often this will be in your application delegate’s applicationDidFinishLaunching:). The method reads application’s most recent crash report from the system log and presents feedback panel if found. It also stores last crash check time to user defaults, so it only checks newer reports the next time. Example:
- (void)applicationDidFinishLaunching:(NSNotification *)notification {
[openFeedback presentFeedbackPanelIfCrashed];
}
The easiest way to get to the OpenFeedback instance you’ve setup in IB (as described in INSTALL section of the readme file included with the code), is to add an IBOutlet to AppDelegate and link it within IB. Above example assumes you’ve linked it to AppDelegate’s openFeedback ivar.