Conforms to NSObject
Declared in FLBugKit.h

Overview

Protocol must be implemented by the UIApplicationDelegate

Tasks

  • – userId

    Returns a string that can be used to identify a user for the application.

    required method
  • – defaultBugMetadata

    This string of application bug metadata in addition to a screenshot, version number and build number.

    required method
  • – defaultBugEmailAddress

    Providing a custom email can be useful in directing bugs to the right person or team.

    required method
  • – defaultBugEmailSubject

    Providing a subject can be useful in categorizing bugs within your bug tracking system.

    required method
  • – bugGestureRecognizer

    Provides the UIGestureRecognizer that when triggered will cause the collection of data and prompt the user to email this data to the developers. FLBugKit instance will add itself as a target to handle the gesture event.

    required method
  • – activeViewControllerFromRootViewController:gesture:

    Finds the active view controller given a window’s root view controller. The result will be asked for additional metadata for the bug if it is available.

    required method

Instance Methods

activeViewControllerFromRootViewController:gesture:

Finds the active view controller given a window’s root view controller. The result will be asked for additional metadata for the bug if it is available.

- (UIViewController *)activeViewControllerFromRootViewController:(UIViewController *)rootViewController gesture:(UIGestureRecognizer *)gesture

Parameters

rootViewController

The rootViewController from the UIWindow that handled the gesture.

gesture

The gesture that triggered the bug metadata to be collected

Return Value

The view controller that may have additional bug metadata

@discussion It can be useful for the case where the root view controller for a window is a controller of other controllers such as a UINavigationController.

Discussion

Finds the active view controller given a window’s root view controller. The result will be asked for additional metadata for the bug if it is available.

Declared In

FLBugKit.h

bugGestureRecognizer

Provides the UIGestureRecognizer that when triggered will cause the collection of data and prompt the user to email this data to the developers. FLBugKit instance will add itself as a target to handle the gesture event.

- (UIGestureRecognizer *)bugGestureRecognizer

Return Value

UIGestureRecognizer registered with UIWindow instances

Discussion

Provides the UIGestureRecognizer that when triggered will cause the collection of data and prompt the user to email this data to the developers. FLBugKit instance will add itself as a target to handle the gesture event.

Declared In

FLBugKit.h

defaultBugEmailAddress

Providing a custom email can be useful in directing bugs to the right person or team.

- (NSString *)defaultBugEmailAddress

Return Value

default email address that the bug will be sent to

Discussion

Providing a custom email can be useful in directing bugs to the right person or team.

Declared In

FLBugKit.h

defaultBugEmailSubject

Providing a subject can be useful in categorizing bugs within your bug tracking system.

- (NSString *)defaultBugEmailSubject

Return Value

default subject of the bug email

Discussion

Providing a subject can be useful in categorizing bugs within your bug tracking system.

Declared In

FLBugKit.h

defaultBugMetadata

This string of application bug metadata in addition to a screenshot, version number and build number.

- (NSString *)defaultBugMetadata

Return Value

string of metadata about the application

Discussion

This string of application bug metadata in addition to a screenshot, version number and build number.

Declared In

FLBugKit.h

userId

Returns a string that can be used to identify a user for the application.

- (NSString *)userId

Return Value

string that identifies the user

Discussion

Returns a string that can be used to identify a user for the application.

Declared In

FLBugKit.h