Commit Graph

76 Commits

Author SHA1 Message Date
Sindre Sorhus ddfb0fc1b3 2.0.1 2022-03-23 16:24:17 +07:00
Sindre Sorhus aab677a244 Fix screen names on Apple silicon Macs
Fixes #78
2022-03-23 16:23:43 +07:00
Sindre Sorhus 59a3977cdd 2.0.0 2022-02-23 15:10:31 +07:00
Sindre Sorhus 1f0b2ecebf Drop support for CocoaPods and Carthage 2022-02-23 15:10:14 +07:00
Sindre Sorhus 7dea99c3af Include warning message in `onFinish` 2022-02-23 15:03:56 +07:00
Sindre Sorhus 0e642f682c Fix error when not setting video codec 2022-02-23 14:12:21 +07:00
Sindre Sorhus 4ce7a8d3f2 Minor tweaks 2021-11-15 13:44:55 +07:00
Sindre Sorhus 6a47490be6 Upgrade to Swift 5.4 2021-04-27 14:59:32 +07:00
SENTINELITE 9e72ca5e5b
Fix macOS version in Package.swift (#76) 2021-04-19 12:21:20 +07:00
Sindre Sorhus ca7190c98d 1.0.0 2021-03-25 01:06:31 +07:00
Sindre Sorhus 0cde550694 Minor tweaks 2021-03-25 01:05:54 +07:00
Alex Pelan 8a326d3e42
Add `scaleFactor` parameter (#73)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2021-03-25 00:57:30 +07:00
Sindre Sorhus f000e5498a Rename `master` branch to `main` 2021-01-23 20:54:55 +07:00
Sindre Sorhus 2b347d60d5 0.4.0 2020-09-16 14:30:51 +02:00
Sindre Sorhus 46743b514e Require macOS 10.13 or later 2020-09-16 14:30:07 +02:00
Sindre Sorhus 42fea9bc70 Upgrade to Swift 5.3 2020-09-16 14:24:59 +02:00
Sindre Sorhus 72d2a98957
Link to source in the readme 2020-02-14 20:15:15 +07:00
Sindre Sorhus 4202cef5c9 0.3.0 2020-02-14 20:09:26 +07:00
Sindre Sorhus 3505d6eb19 Give some parameters default values 2020-02-14 19:58:57 +07:00
Sindre Sorhus ef9d1b0030 Drop `.onError()`
Better to just have one callback for when it's done.
2020-02-14 19:57:39 +07:00
Sindre Sorhus a9a53cbb53 Improve error handling 2020-02-14 19:19:52 +07:00
Sindre Sorhus 29509e3751 Make `Aperture.Devices` strongly-typed 2020-02-14 19:14:41 +07:00
Sindre Sorhus 5e4c311540 Namespace `Devices` under `Aperture` 2020-02-14 18:53:01 +07:00
Sindre Sorhus 5f80b523c1 Namespace errors under the `Aperture` name 2020-02-14 18:50:48 +07:00
Sindre Sorhus cc856ceb6c Switch to tab indentation 2020-02-14 18:46:16 +07:00
Sindre Sorhus 850709fa90 Clean up #69 2020-02-14 18:31:06 +07:00
Koray Koska 98cbc1dbef
Add support for recording iOS screens (#69)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2020-02-14 18:13:59 +07:00
Sindre Sorhus 759f8793aa Upgrade to Swift 5.1 2019-09-11 23:05:59 +07:00
Sindre Sorhus d7fd45362b Add a TODO comment 2019-06-10 15:01:08 +07:00
Sindre Sorhus a0f712aa40 Upgrade to Swift 5 2019-03-26 14:11:57 +07:00
Sindre Sorhus 2447e76fac 0.2.0 2019-02-20 13:08:56 +07:00
Sindre Sorhus 67d0743770
Prevent the computer from sleeping while recording (#64) 2019-02-20 13:07:20 +07:00
Sindre Sorhus 732c766a86 Add SwiftLint 2019-02-16 12:00:57 +07:00
Sindre Sorhus 81451a3ec1 0.1.0 2018-12-26 00:48:34 +01:00
Sindre Sorhus dd053a3217 Publish it as a package 2018-12-26 00:47:14 +01:00
Sindre Sorhus 86b5182a2c Minor Swift refactoring 2018-12-25 22:13:48 +01:00
Sindre Sorhus 6edde8b3c2 Upgrade to Swift 4.2 (#59) 2018-12-25 22:13:48 +01:00
Sindre Sorhus e5d4ddf60f Various Swift code improvements (#58) 2018-12-25 22:13:48 +01:00
Sindre Sorhus e9184b38a3 Rename the `displayId` option to `screenId`
And make it a number instead of a string.
2018-12-25 22:13:48 +01:00
Sindre Sorhus aac015a042 Expose an API to get a list of screens
Fixes #57
2018-12-25 22:13:48 +01:00
Sindre Sorhus c056d4b6fe Upgrade to Swift 4.1 2018-12-25 22:13:48 +01:00
Sindre Sorhus 28bd1f071d Minor tweaks 2018-12-25 22:13:48 +01:00
Sindre Sorhus 3ce78e6254 Drop support for macOS 10.10 and 10.11
We've never tested it on those systems anyway. Time to move on. OS updates are free, no excuse not to update.
2018-12-25 22:13:48 +01:00
Sindre Sorhus 36742c958b Revert a525a5171d 2018-12-25 22:13:48 +01:00
Sindre Sorhus 092c116f40 Add `videoCodec` option (#51)
Fixes #45
2018-12-25 22:13:48 +01:00
Sindre Sorhus 5243d4a78a Use the new Decodable Swift protocol to handle options (#48) 2018-12-25 22:13:48 +01:00
Albin Ekblom 879182c1c5 Exit process on request (#35) 2018-12-25 22:13:48 +01:00
Sindre Sorhus 059666edbe Remove moot comment
It doesn't make sense to use Codable there
2018-12-25 22:13:48 +01:00
Sindre Sorhus bd8628782f More accurate start recording
See https://developer.apple.com/documentation/avfoundation/avcapturefileoutputdelegate/1388760-fileoutputshouldprovidesampleacc
2018-12-25 22:13:48 +01:00
Sindre Sorhus 86ac81eca5 Implement the Swift part of pause/resume recording
Related to #28
2018-12-25 22:13:48 +01:00