浏览代码

Fix formatting of code block in installation-ios (#2356)

This code block appears fine on GitHub, but is malformatted on the site. This commit updates it to fit the format of other code blocks in the docs, so it should appear okay.
Josh Justice 6 年前
父节点
当前提交
f53a9a0229
共有 1 个文件被更改,包括 7 次插入6 次删除
  1. 7
    6
      docs/installation-ios.md

+ 7
- 6
docs/installation-ios.md 查看文件

@@ -14,9 +14,10 @@
14 14
 
15 15
 4. In Xcode, in Project Navigator (left pane), click on your project (top), then click on your *project* row (on the "project and targets list") and select the `Build Settings` tab (right pane). In the `Header Search Paths` section add `$(SRCROOT)/../node_modules/react-native-navigation/ios`. Make sure on the right to mark this new path `recursive` ([screenshots](https://facebook.github.io/react-native/docs/linking-libraries-ios.html#step-3))
16 16
 
17
-5. In Xcode, you will need to edit this file: `AppDelegate.m`. 
18
-This function:
19
-````````
20
-- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { ... }
21
-````````
22
-is the main entry point for your app. Its content must be replaced with the content of this [reference](https://github.com/wix/react-native-navigation/blob/master/example/ios/example/AppDelegate.m)
17
+5. In Xcode, you will need to edit this file: `AppDelegate.m`. This function is the main entry point for your app:
18
+
19
+    ```objc
20
+    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { ... }
21
+    ```
22
+
23
+Its content must be replaced with the content of this [reference](https://github.com/wix/react-native-navigation/blob/master/example/ios/example/AppDelegate.m)