Change the mention of Sonar in iOS sample app
Summary: Update the iOS sample app with flipper Reviewed By: passy Differential Revision: D9056882 fbshipit-source-id: f5b49fc60905c6d5ebca3da977cf966e76feffb8
This commit is contained in:
committed by
Pascal Hartig
parent
07d75ce848
commit
10dc4d0ca9
@@ -341,7 +341,7 @@
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.facebook.sonar.SampleSwift;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.facebook.flipper.SampleSwift;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 4.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
@@ -375,7 +375,7 @@
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.facebook.sonar.SampleSwift;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.facebook.flipper.SampleSwift;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_VERSION = 4.0;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
|
||||
@@ -24,14 +24,14 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
let mainViewController = storyboard.instantiateViewController(withIdentifier: "MainViewController")
|
||||
let navigationController = UINavigationController(rootViewController: mainViewController)
|
||||
|
||||
navigationController.navigationBar.topItem?.title = "SampleSwift";
|
||||
navigationController.navigationBar.topItem?.title = "SampleFlipper";
|
||||
navigationController.navigationBar.isTranslucent = false;
|
||||
|
||||
window?.rootViewController = navigationController
|
||||
window?.makeKeyAndVisible()
|
||||
|
||||
// Use NSLog since Sonar doesn't capture print() by default
|
||||
NSLog("Hello from Sonar in a Swift app!")
|
||||
// Use NSLog since Flipepr doesn't capture print() by default
|
||||
NSLog("Hello from Flipper in a Swift app!")
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user