A powerful watchOS full-keyboard.
As the release of Apple Watch Series 7, full-keyboard seems to be quite useless. But old series such as Series 5 or SEs are still unable to type freely.
We developed Cepheus, allowing all users to type with a full-keyboard.
- Basics
- Able to enter Latin letters, Arabic letters and symbols.
- Elegant interface makes Cepheus beauty while still useful.
- Supports Shift & Caps Lock key which allows capital letters to be typed in.
- Emojis
- Review in lists that helps preview to be quick.
- Review in groups and subgroups helps users to find the emoji simply.
- Recent Usage are collected and can be easily accessed.
- Text field also editable when emoji keyboard is displayed.
- Chinese Pinyin
- Around 8,453 characters collected for pinyin type-in.
- Safe Insert make sure indexes will not be out of arrays.
- Input ignorable allows users to type in Latin letters.
- Full-sized chinese punctuations are supported in keyboard.
CepheusKeyboard("Email Address", text: $text, isSecure: false, inputMethods: [.english], allowEmojis: false, onSubmit: {
print("Email address submitted")
})_: LocalizedStringKey tells users what the text field is.
text: Binding<String> indicates what the input text is.
CepheusIsEnabled: Bool? could be toggled if you want to force Cepheus keyboard to be used or not.
This value is not recommened to be used in normal usage, since Cepheus will handle if it should be used by itself.
If this is set to false, then Cepheus Keyboard goes into normal TextField or SecureField from SwiftUI.
nil make Cepheus handle whether it should be used or not.
Default as nil.
style: String is a vital parameter when you wish to have different ways to use keyboard.
"field"is like vanilla SwiftUITextField, pops up in a sheet, displayspromptwhen empty, and showsinputwhen there's something."link"is still a sheet while its apprearence depends onlabel."page"is aNavigationLinkwhich links to a new page for typing, usinglabelas its apprearence."field-page"mixed"field"'s appearence and"page"'s interaction, which means it shows as field and navigates to a new page for the keyboard.directshows the keyboard itself directly without any interactions.
Default as "field".
Other available value: "link"``"page"``"field-page"``"direct".
defaultLanguage: String is useful when you expected the keyboard to have a specific default language.
This determines the default language for the keyboard.
Default as en-qwerty.
Other available value: "zh-hans-pinyin".
languageDisallowRules: String limits the selections of languages.
This changes which type of language can & can’t users select.
Default as "none"
Other available values: "deny-all"``"deny-Latin"``"deny-CJK"``"English-only"
allowEmojis: Bool indicates if emojis are allowed.
Default as true
isSecure: Bool indicates if the keyboard is used for typing privacy-sensitive contents.
When set to true, the keyboard will goes like secureField. allowEmojis is ignored and will always not allow emojis.
Default as false.
inputMethods: [CepheusInputMethods] defines what input methods can be used.
There is only two values, .english and .chinesePinyin.
Default as CepheusInputMethods.allCases.
allowEmojis: Bool indicates if emojis are allowed.
Default as true.
onSubmit: () -> Void receives actions and will be run when Confirm is pressed.
This acts like onSubmit in the native SwiftUI.
Default as {}.
You are responsible for adding one of the following description to your app, where ever it is as long as it could be found.
Just one of them.
Powered by Cepheus
Powered by Qastor Cepheus
If Cepheus is unable to be enabled, such as watchOS 9, then this text could be removed.
CepheusSettingsView() could be called simply. We recommend to put this somewhere in the your app settings.
This is optional, which means you could not show this.
CepheusCreditView() is also available if you wanted to call it.
We do not wish you to remove credit from the source code. (You could remove if you really wanna do that.)
CepheusEnablingToggle: View is the same view as where the "about" link in the language sheet takes you to.
ThreeManager785
- Develop
- Data Collection
- Design
WindowsMEMZ
- Chinese Dictionary Sorting
- Debug
- Inspiration
Linecom
- Feedbacks
Captain Log
- Chinese Character List in Frequency
转自船长日志, 本文链接地址: http://www.cslog.cn/Content/word-frequency-list-of-chinese/
Every Developer & User
- Really appreaciate for every developer supporing Cepheus, thank you for your patient reading README and using Cepheus.
- And appreaciate for users, which gives me confident to do development further.
Cepheus collects emojis that are recently used and could be turned off manually.
No any other datas are collected. No data are shared or uploaded to neither other devices nor the Internet.
Cepheus won't be able to know what you've typed.