Skip to content

Repository files navigation

ObjectTracker

VersionCarthage CompatibleLicensePlatformSwift

Description

ObjectTracker which is detecting an object's deallocing, when occurs, it proivdes a closure callback. Compatible with both Swift and Objective-C.

Installation

CocoaPods

pod'ObjectTracker'

Carthage

github"janlionly/ObjectTracker"

Swift Package Manager

.package(url:"https://github.com/janlionly/ObjectTracker.git",.upToNextMajor(from:"0.0.1")),

Usage

// your detecting ctrl
ObjectTracker.trackObject(ctrl){(ctrl)inprint("============= \(ctrl) deinit =============")}

Requirements

  • iOS 9.0+
  • Swift 4.2 to 5.2

Author

Visit my github: janlionly
Contact with me by email: janlionly@gmail.com

Contribute

I would love you to contribute to ObjectTracker

License

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

About

Detecting an object deallocing which proivdes a closure callback.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages