Skip to content

Commit

Permalink
feat: update objc requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztofzablocki committed Jan 17, 2018
1 parent d6ea150 commit 2dd7f3b
Show file tree
Hide file tree
Showing 15 changed files with 195 additions and 195 deletions.
2 changes: 1 addition & 1 deletion Example/LifetimeTracker/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
#if DEBUG
LifetimeTracker.setup(onUpdate: LifetimeTrackerDashboardIntegration().refreshUI)
LifetimeTracker.setup(onUpdate: LifetimeTrackerDashboardIntegration.visibleWhenIssueDetected().refreshUI)
#else
#endif

Expand Down
6 changes: 2 additions & 4 deletions Example/LifetimeTracker/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@ import LifetimeTracker

// MARK: - DetailItem -

class DetailItem: NSObject, LifetimeTrackable {
class DetailItem: LifetimeTrackable {

class var lifetimeConfiguration: LifetimeConfiguration {
// There can be up to three 3 instances from the class. But only three in total including the subclasses
return LifetimeConfiguration(maxCount: 3, groupName: "Detail Item", groupMaxCount: 3)
}

override init() {
super.init()

init() {
self.trackLifetime()
}
}
Expand Down
4 changes: 2 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- LifetimeTracker (1.2)
- LifetimeTracker (1.3.1)

DEPENDENCIES:
- LifetimeTracker (from `../`)
Expand All @@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: ../

SPEC CHECKSUMS:
LifetimeTracker: aea8cc5ad62253d5795cd92c9a50f511f1bdd23e
LifetimeTracker: f25e38acc94afb4c77fa13558c722005bba02d20

PODFILE CHECKSUM: 501d45bfa9c7529cd7a6822fe9b0173d056f81d6

Expand Down
4 changes: 2 additions & 2 deletions Example/Pods/Local Podspecs/LifetimeTracker.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2dd7f3b

Please sign in to comment.