Skip to content

Commit f799f60

Browse files
authored
Added colors in README.md file (altstoreio#6)
1 parent c182b80 commit f799f60

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ AltKit allows apps to communicate with AltServers on the same WiFi network and e
66

77
To use AltKit in your app, add the following to your `Package.swift` file's dependencies:
88

9-
```
9+
```swift
1010
.package(url: "https://github.com/rileytestut/AltKit.git", .upToNextMajor(from: "0.0.1")),
1111
```
1212

1313
Next, add the AltKit package as a dependency for your target:
1414

15-
```
15+
```swift
1616
.product(name: "AltKit", package: "AltKit"),
1717
```
1818

1919
Finally, right-click on your app's `Info.plist`, select "Open As > Source Code", then add the following entries:
2020

21-
```
21+
```xml
2222
<key>NSBonjourServices</key>
2323
<array>
2424
<string>_altserver._tcp</string>
@@ -49,7 +49,7 @@ add_compile_options($<$<NOT:$<COMPILE_LANGUAGE:Swift>>:-fPIC>)
4949
## Usage
5050

5151
### Swift
52-
```
52+
```swift
5353
import AltKit
5454

5555
ServerManager.shared.startDiscovering()
@@ -75,7 +75,7 @@ ServerManager.shared.autoconnect { result in
7575
```
7676

7777
### Objective-C
78-
```
78+
```objc
7979
@import AltKit;
8080

8181
[[ALTServerManager sharedManager] startDiscovering];

0 commit comments

Comments
 (0)