Protocols
-
The
See moreBuglifeDelegate
protocol provides a mechanism for your application to configure certain aspects of the Buglife reporter UI.Declaration
Objective-C
@protocol BuglifeDelegate <NSObject>
Swift
protocol BuglifeDelegate : NSObjectProtocol
-
UIView
subclasses that contain potentially sensitive information may adopt this protocol so that their contents are automatically blurred whenever Buglife captures a screenshot.For example, a
See moreUIView
subclass for credit card entry should adopt this protocol so that a user’s credit card is obscured prior to screenshot capturing.Declaration
Objective-C
@protocol LIFEBlurrableView <UICoordinateSpace>
Swift
protocol LIFEBlurrableView
-
To customize the visual appearance of Buglife views & view controllers, get an instance of an object conforming to this protocol using the
Buglife.appearance
property, then use any of that object’s corresponding LIFEAppearance properties.Example:
// Objective-C [Buglife sharedBuglife].appearance.tintColor = [UIColor redColor];
See more// Swift Buglife.shared().apperance.tintColor = .red
Declaration
Objective-C
@protocol LIFEAppearance <NSObject>
Swift
protocol LIFEAppearance