CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

ObjectTracker 0.0.1

ObjectTracker 0.0.1

Maintained by janlionly.



ObjectTracker

Version Carthage Compatible License Platform Swift

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) in
   print("============= \(ctrl) deinit =============")
}

Requirements

  • iOS 9.0+
  • Swift 4.2 to 5.2

Author

Visit my github: janlionly
Contact with me by email: [email protected]

Contribute

I would love you to contribute to ObjectTracker

License

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