Skip to content

Commit b8f453a

Browse files
authored
Update README.md
1 parent d22f9aa commit b8f453a

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,15 @@ To use AltKit in your app, add the following to your `Package.swift` file's depe
1010
.package(url: "https://github.com/rileytestut/AltKit.git", .upToNextMajor(from: "0.0.1")),
1111
```
1212

13-
Next, add the AltKit package as a dependency for your target:
13+
Next, add the SideKit package as a dependency for your target:
1414

1515
```swift
16-
.product(name: "AltKit", package: "AltKit"),
16+
.product(name: "SideKit", package: "SideKit),
1717
```
1818
1919
Finally, right-click on your app's `Info.plist`, select "Open As > Source Code", then add the following entries:
2020
2121
```xml
22-
<key>NSBonjourServices</key>
23-
<array>
24-
<string>_altserver._tcp</string>
25-
</array>
26-
<key>NSLocalNetworkUsageDescription</key>
27-
<string>[Your app] uses the local network to find and communicate with AltServer.</string>
2822
<key>ALTDeviceID</key>
2923
<string></string>
3024
```
@@ -50,7 +44,7 @@ add_compile_options($<$<NOT:$<COMPILE_LANGUAGE:Swift>>:-fPIC>)
5044
5145
### Swift
5246
```swift
53-
import AltKit
47+
import SideKit
5448
5549
ServerManager.shared.startDiscovering()
5650
@@ -76,7 +70,7 @@ ServerManager.shared.autoconnect { result in
7670
7771
### Objective-C
7872
```objc
79-
@import AltKit;
73+
@import SideKit;
8074
8175
[[ALTServerManager sharedManager] startDiscovering];
8276

0 commit comments

Comments
 (0)