+
+@implementation AppDelegate
+
+- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
+{
+ FlipperClient *client = [FlipperClient sharedClient];
+ SKDescriptorMapper *layoutDescriptorMapper = [[SKDescriptorMapper alloc] initWithDefaults];
+ [FlipperKitLayoutComponentKitSupport setUpWithDescriptorMapper: layoutDescriptorMapper];
+ [client addPlugin: [[FlipperKitLayoutPlugin alloc] initWithRootNode: application
+ withDescriptorMapper: layoutDescriptorMapper]];
+
+ [client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]]; [client start];
+ [client addPlugin: [[FlipperKitNetworkPlugin alloc] initWithNetworkAdapter:[SKIOSNetworkAdapter new]]];
+ [client start];
+ ...
+}
+@end
+```
+
```swift
import UIKit
import FlipperKit
@@ -267,8 +266,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
return true
}
}
-
```
+
@@ -284,4 +283,4 @@ Finally, you need to add plugins to your Flipper client. Above we have only adde
## Having trouble?
-See the [troubleshooting page](troubleshooting.html) for help with known problems.
+See the [troubleshooting page](troubleshooting.html) for help with known problems.
\ No newline at end of file