Latest 1.0.0
Homepage https://github.com/IHEARTCOOKIES/FBLeakDetectorVC
License MIT
Platforms ios 8.0
Authors

FBLeakDetectorVC

CI Status
Version
License
Platform

FBLeakDetector is a straightforward and effective leak detector used for finding lingering view controllers that appeared to be released out of memory.

Requirements

FBLeakDetector is compatible with iOS 8.0+ and requires ARC to build.

Installation

FBLeakDetectorVC is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'FBLeakDetectorVC'

Usage

Start by simply subclassing the UIViewController(s) that you’d like to monitor for potential leakage. A common practice is to let your BaseViewController subclass our FBLeakDetectorViewController. By doing so, you’ll have a leak detector enabled for all view controllers that inherits your BaseViewController.

Switch between the action types by overriding the getter as follows:

@implementation BaseViewController

#pragma mark - Leak Detection Action Type
- (FBLeakDetectorActionType)leakDetectorActionType {
  return FBLeakDetectorActionTypeException;
}

@end

License

FBLeakDetectorVC is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "FBLeakDetectorVC",
    "version": "1.0.0",
    "summary": "A basic leak detector for finding lingering view controllers.",
    "description": "FBLeakDetector is a straightforward and effective leak detector used for finding lingering view controllers that appeared to be released out of memory.",
    "homepage": "https://github.com/IHEARTCOOKIES/FBLeakDetectorVC",
    "authors": {
        "Filip Busic": "[email protected]"
    },
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "public_header_files": "FBLeakDetectorVC/Classes/Public/**/*.h",
    "source_files": "FBLeakDetectorVC/Classes/**/*",
    "source": {
        "git": "https://github.com/IHEARTCOOKIES/FBLeakDetectorVC.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "module_name": "FBLeakDetectorVC"
}

Pin It on Pinterest

Share This