[iOS 10][Keyboard] Expose to third party developer the coding keyboard available in the Swift Playground app.
| Originator: | jacopo.giola | ||
| Number: | rdar://26890936 | Date Originated: | 20-Jun-2016 02:50 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | iOS 10 seed 1 |
| Classification: | Enhancement | Reproducible: | N/A |
Summary: With iOS 10 Apple has introduced the Swift Playground app, and highlighted the new awesome keyboard optimized for writing code, with easy to access common code glyphs with new swipe gesture on the regular keys. Sadly though, it appears to be a private implementation that it cannot be used by third party developers that are trying to write awesome apps for coding on the iPad. I understand that it would be unfeasible on an iPhone (or at least on a compact width trait) so it could be an iPad only keyboard type at least for the first release. The best it would be with some kind of UIView subclass to feed as inputAccessoryView that accept feeds of strings from the developer that will mock the easy variable/constant/function names entry available in the Swift Playground app. Steps to Reproduce: - Install the iOS 10 beta on an iPad - Open the Swift Playground app - Download an Apple playground from the Featured tab - Open it - Bring up the keyboard during the exercise - See the new coding keyboard - Try to bring up the same keyboard in a brand new application Expected Results: A new case in UIKeyboardType enumeration (called coding in Swift or UIKeyboardTypeCoding in Obj-C) is available to use for third parties in iOS 10 Actual Results: The only new type of UIKeyboardType is the asciiCapableNumberPad for inserting non localized number inside the app, and for new apps that will allow people to coding or learn new programming languages the developer must be willing to code an entirely new keyboard or relay on custom inputAccessoryView to surface relevant symbols to the user for avoiding the continuous switch between letters and symbols. Version: iOS 10 seed 1 Notes: Configuration: iPad Air 64GB cellular Attachments:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!