Skip to content

Commit 768dd7c

Browse files
author
Steve Trease
committed
for testing Xcode Server static analysis
1 parent e06f5d4 commit 768dd7c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Swift Push 3/AppDelegate.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
5858

5959
func application(application: UIApplication!, didRegisterForRemoteNotificationsWithDeviceToken deviceToken:NSData!) {
6060

61+
// for testing Xcode Server static analysis
62+
if (true) {
63+
println ("true")
64+
} else {
65+
println ("false")
66+
}
67+
6168
let existingToken: AnyObject? = NSUserDefaults.standardUserDefaults().objectForKey("deviceToken")
6269

6370
println("device token is " + deviceToken.description)

0 commit comments

Comments
 (0)