Skip to content

Commit

Permalink
[recordkit] Fix typos and indention on getting started pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mac-cain13 committed Jun 10, 2024
1 parent 0815c33 commit 3862352
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion recordkit/try-electron.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Getting Started on Electron

This guide will walk you through the steps to integreate RecordKit into your Electron app. By the end you will be able to make a screen recording.
This guide will walk you through the steps to integrate RecordKit into your Electron app. By the end you will be able to make a screen recording.

::: details Starting from scratch?
To bootstrap an Electron project using [Electron Forge](https://www.electronforge.io) run:
Expand Down
10 changes: 5 additions & 5 deletions recordkit/try-swift.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Getting Started on Swift

This guide will walk you through the steps to integreate RecordKit into your Swift app. By the end you will be able to make a screen recording.
This guide will walk you through the steps to integrate RecordKit into your Swift app. By the end you will be able to make a screen recording.

::: details Starting from scratch?
1. Start [Xcode](https://developer.apple.com/xcode/) choose "Create New Project..." from the launch screen.
Expand Down Expand Up @@ -38,10 +38,10 @@ let appleDevices = await RKRecorder.getAppleDevices() // iPhones, iPads, etc.
```Swift
// Configure the recorder
let recorder = RKRecorder(schema: RKRecorderSchema(items: [
.windowBasedCrop(windowID: windows.first!.id),
.webcam(microphoneID: microphones.first!.id, cameraID: cameras.first!.id),
.appleDeviceStaticOrientation(deviceID: appleDevices.first!.id)
])) { _ in }
.windowBasedCrop(windowID: windows.first!.id),
.webcam(microphoneID: microphones.first!.id, cameraID: cameras.first!.id),
.appleDeviceStaticOrientation(deviceID: appleDevices.first!.id)
])) { _ in }

// Calling prepare is highly recommended, this activates all devices and makes sure a call to start will start the recording instantly.
// (Screen recording & camera indicators will be visible to the user after calling prepare, also permission alerts might be triggered.)
Expand Down

0 comments on commit 3862352

Please sign in to comment.