From 19b8d99edc4c6b927fbea9434643dec8831ea968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20To=CC=88r?= Date: Fri, 27 Jan 2023 18:46:17 +0000 Subject: [PATCH] Readme updates for example apps --- Examples/SwiftUI/README.md | 2 +- Examples/UIKit+RevenueCat/README.md | 2 +- Examples/UIKit-Swift/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Examples/SwiftUI/README.md b/Examples/SwiftUI/README.md index afa1dc45c..48b15b316 100644 --- a/Examples/SwiftUI/README.md +++ b/Examples/SwiftUI/README.md @@ -69,7 +69,7 @@ On the [Superwall Dashboard](https://superwall.com/dashboard) you add this event When an event is tracked, SuperwallKit evaluates the rules associated with it to determine whether or not to show a paywall. Note that if the delegate method [isUserSubscribed()](Superwall-SwiftUI/SuperwallService.swift#L81) returns `true`, a paywall will not show by default. -By calling [Superwall.track(event:params:paywallOverrides:paywallHandler:)](Superwall-SwiftUI/TrackEventModel.swift#L15), you present a paywall in response to the event. For this app, the event is called "MyEvent". +By calling [Superwall.shared.track(event:params:paywallOverrides:paywallHandler:)](Superwall-SwiftUI/TrackEventModel.swift#L15), you present a paywall in response to the event. For this app, the event is called "MyEvent". On screen you'll see some explanatory text and a button that tracks an event: diff --git a/Examples/UIKit+RevenueCat/README.md b/Examples/UIKit+RevenueCat/README.md index 13705974d..eece3c5a4 100644 --- a/Examples/UIKit+RevenueCat/README.md +++ b/Examples/UIKit+RevenueCat/README.md @@ -71,7 +71,7 @@ On the [Superwall Dashboard](https://superwall.com/dashboard) you add this event When an event is tracked, SuperwallKit evaluates the rules associated with it to determine whether or not to show a paywall. Note that if the delegate method [isUserSubscribed()](Superwall-UIKit+RevenueCat/PaywallManager.swift#L163) returns `true`, a paywall will not show by default. -By calling [Superwall.track(event:params:paywallOverrides:paywallHandler:)](Superwall-UIKit+RevenueCat/TrackEventViewController.swift#L59), you present a paywall in response to the event. For this app, the event is called "MyEvent". +By calling [Superwall.shared.track(event:params:paywallOverrides:paywallHandler:)](Superwall-UIKit+RevenueCat/TrackEventViewController.swift#L59), you present a paywall in response to the event. For this app, the event is called "MyEvent". On screen you'll see some explanatory text and a button that tracks an event: diff --git a/Examples/UIKit-Swift/README.md b/Examples/UIKit-Swift/README.md index 55d512389..69612cecc 100644 --- a/Examples/UIKit-Swift/README.md +++ b/Examples/UIKit-Swift/README.md @@ -69,7 +69,7 @@ On the [Superwall Dashboard](https://superwall.com/dashboard) you add this event When an event is tracked, SuperwallKit evaluates the rules associated with it to determine whether or not to show a paywall. Note that if the delegate method [isUserSubscribed()](Superwall-UIKit-Swift/SuperwallService.swift#L82) returns `true`, a paywall will not show by default. -By calling [Superwall.track(event:params:paywallOverrides:paywallHandler:)](Superwall-UIKit-Swift/TrackEventViewController.swift#L57), you present a paywall in response to the event. For this app, the event is called "MyEvent". +By calling [Superwall.shared.track(event:params:paywallOverrides:paywallHandler:)](Superwall-UIKit-Swift/TrackEventViewController.swift#L57), you present a paywall in response to the event. For this app, the event is called "MyEvent". On screen you'll see some explanatory text and a button that tracks an event: