Skip to content

Commit 38dcdff

Browse files
committed
Add Swift print test code to example app.
1 parent 22fd0f2 commit 38dcdff

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Example/FLEXample/AppDelegate.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
3333
self.repeatingLogExampleTimer = Timer.scheduledTimer(withTimeInterval: 3, repeats: true) { [weak self] (_) in
3434
if let self = self {
3535
NSLog("Example log \(self.exampleLogSent)")
36-
36+
37+
// Test Swift print redirection
38+
print("Swift print test \(self.exampleLogSent)")
39+
print("Multiple line")
40+
print("Swift print test")
41+
debugPrint("Debug print test \(self.exampleLogSent)")
42+
3743
self.exampleLogSent += 1
3844
if self.exampleLogSent > self.exampleLogLimit {
3945
self.repeatingLogExampleTimer.invalidate()

0 commit comments

Comments
 (0)