Commit Graph

78 Commits

Author SHA1 Message Date
Sindre Sorhus 0994810987 Use Swift Package Index for docs 2022-07-07 21:13:17 +02:00
Megabits_mzq 1522654b59
Fix duplication checking with menu items for shortcuts with a Shift modifier (#88)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-06-26 15:34:48 +02:00
Yazeed AlKhalaf 660c11ee4d Add Arabic localization (#85)
Co-authored-by: Mais Alheraki <mais.alheraki@gmail.com>
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-06-06 11:34:36 +07:00
Sindre Sorhus 387756ce61
Fix compatibility with `View#focused()` (#82) 2022-06-06 11:30:33 +07:00
Sindre Sorhus 6cfee79adf Minor tweaks 2022-06-06 11:13:46 +07:00
Sindre Sorhus 5e453238c1 Fix linting 2022-05-03 21:58:13 +07:00
Sindre Sorhus 94b4c9278c
Automate DocC generation (#73) 2022-05-03 16:43:07 +07:00
Emilio Pelaez Romero 8a2cc9130b
Rename `.on()` to `.events()` and add SwiftUI view modifier for listening to events (#79)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-05-03 15:14:49 +07:00
Francis Feng ee60fcf3fc
Update localization zh-TW to align with Apple's (#77) 2022-04-14 23:24:44 +07:00
Francis Feng 9779fc68c7
Fix inconsistent punctuation in `en` localization (#78) 2022-04-14 23:21:03 +07:00
Sindre Sorhus 82e9303f5e Switch to DocC for documentation generation 2022-04-05 19:33:41 +07:00
Sindre Sorhus 0dcedd5699 Add modern listener method
Fixes #46
2022-03-30 13:01:31 +07:00
Sindre Sorhus 7e251f3a15 Add support for specifying a label 2022-03-30 12:53:17 +07:00
Sam 954285d111
Add Czech localization (#71) 2022-03-30 12:52:27 +07:00
Sindre Sorhus 3017db0d96 Make logo dark mode compatible
Fixes #67
2022-01-24 14:10:53 +07:00
Sindre Sorhus 9bc72c441c Document how to get all keyboard shortcuts
Fixes #53
Closes #57
2022-01-23 12:41:29 +07:00
fejese ab6822ade2
Add Hungarian localization (#64) 2022-01-23 12:41:16 +07:00
Darío Hereñú ba9c9c82b1 Add Spanish localization (#60)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2022-01-23 02:14:50 +07:00
Sindre Sorhus cc9ac2ab7b Improve example 2022-01-23 02:10:37 +07:00
Sindre Sorhus e72d2ff504 Minor tweaks 2021-12-27 15:04:13 +01:00
Sindre Sorhus 4f1541b488 Code style tweaks 2021-11-15 02:43:27 +07:00
Sindre Sorhus 04fdf3380e Add FAQ about media keys
Closes #56
2021-10-05 20:05:33 +07:00
Sindre Sorhus 0d77aa6851 Upgrade to Swift 5.5 2021-10-03 23:33:57 +07:00
Jason Ou 32aef044a7
Add Chinese (Traditional, Taiwan) localization (#55)
Co-authored-by: hank121314 <hank121314@gmail.com>
2021-10-03 23:32:58 +07:00
Sindre Sorhus 7030a2e3d4 Don't allow “shift” key without other modifiers or function key
Fixes #54
2021-09-11 18:20:29 +07:00
Sindre Sorhus 52b5666b1f Meta tweaks 2021-08-15 11:32:17 +02:00
Sindre Sorhus 30461e925f Fix some macOS 12 deprecations 2021-06-13 17:04:24 +07:00
Sindre Sorhus a7a3ff6248 Allow using F12 as a shortcut
The system API says it’s reserved, but it doesn’t seem to be used for anything.
2021-06-07 17:08:57 +07:00
Sindre Sorhus 199c3b25d9 Minor tweaks 2021-06-07 17:08:25 +07:00
Robert Hahn 701e1545b7
Add German localization (#49)
Co-authored-by: Sven Kannenberg <sven.kannenberg@googlemail.com>
2021-06-07 17:05:29 +07:00
Sindre Sorhus 27d0f1d3d6
Add related package to readme 2021-05-01 18:39:34 +07:00
Sindre Sorhus 213ae12f6d Upgrade to Swift 5.4 2021-04-27 17:02:26 +07:00
Sergey Ryazanov 01f89033f8
Add Russian localization (#44)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2021-04-18 18:49:49 +07:00
Sindre Sorhus c5d135bf82 Drop support for CocoaPods and Carthage 2021-03-23 13:24:14 +07:00
Licardo 7535969a90
Add localization support (#27)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2021-03-22 17:44:47 +07:00
Sindre Sorhus f09de800a4 0.7.1 2021-02-21 19:15:12 +07:00
Sindre Sorhus 300be2ec2b Minor tweaks 2021-02-21 19:14:36 +07:00
hank121314 1d53dae131
Fix `RecorderCocoa` when embedded in certain views (#43) 2021-02-21 19:13:03 +07:00
Sindre Sorhus f57a1e998d 0.7.0 2021-01-31 17:07:02 +07:00
Pedro José Pereira Vieito 428ee65cde
Support for setting NSMenuItem shortcut with nameless shortcut (#38)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2021-01-31 17:03:19 +07:00
Sindre Sorhus f61722570a Rename `master` branch to `main` 2021-01-24 14:05:57 +07:00
Pedro José Pereira Vieito b2dc69389d
Unregisters Carbon hot keys with `KeyboardShortcuts.removeAllHandlers()` (#37) 2021-01-18 14:56:18 +07:00
Sindre Sorhus 6d0efcd1fb 0.6.1 2021-01-11 18:27:46 +07:00
Pedro José Pereira Vieito d8a9321c4a
Add method to remove all handlers (#36)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2021-01-11 18:24:13 +07:00
Sindre Sorhus 02a18776d9
Add FAQ item
Fixes #34
2020-12-16 22:08:58 +07:00
Sindre Sorhus 71ddac80e3
Document default keyboard shortcut tip (#32)
Fixes #31
2020-11-29 08:03:19 +07:00
Sindre Sorhus af553c76a0 Minor tweaks 2020-11-06 12:26:34 +01:00
Sindre Sorhus 81e72f4787 0.6.0 2020-10-09 17:18:02 +02:00
Sindre Sorhus 8b99c3c9db Clean up #26 2020-10-09 17:16:31 +02:00
hank121314 a6c093057d
`Recorder` should allow changing the `name` parameter (#26)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
2020-10-09 16:47:31 +02:00