Update setup.mdx (#2595)

Summary:
Change iOS to Objective C, reference which file is being updated

- Clarifies how to update iOS if using objective C for flipper network plugin

## Changelog

- renamed iOS to ObjC for flipper network plugin setup
- specified which iOS file to modify for flipper network plugin setup

Pull Request resolved: https://github.com/facebook/flipper/pull/2595

Test Plan:
Imported from GitHub, without a `Test Plan:` line.

|[Site Preview: flipper](https://our.intern.facebook.com/intern/staticdocs/eph/D29662605/V2/flipper/)

Reviewed By: passy

Differential Revision: D29662605

Pulled By: nikoant

fbshipit-source-id: acdc8bba73900c19500fc91f8a275930c51d73ad
This commit is contained in:
Michael MacPherson
2021-07-12 13:50:06 -07:00
committed by Facebook GitHub Bot
parent 9498a529d5
commit 1fdc261111

View File

@@ -71,10 +71,10 @@ To enable network inspection, add the following pod to your Podfile:
pod 'FlipperKit/SKIOSNetworkPlugin', '~>' + flipperkit_version
```
Initialise the plugin in the following way:
Initialise the plugin in the following way by updating AppDelegate.m:
<Tabs defaultValue="ios" values={[{ label: 'iOS', value: 'ios'}, { label: 'Swift', value: 'swift'}]}>
<TabItem value="ios">
<Tabs defaultValue="objc" values={[{ label: 'ObjC', value: 'objc'}, { label: 'Swift', value: 'swift'}]}>
<TabItem value="objc">
```objc
#import <FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h>