Multiline input with cc.EditBox ccui.TextField in Cocos2d-JS - cocos2d-js

How to make multiline input in Cocos2d-JS?
I try to use cc.EditBox() and ccui.TextField(), but it works only in oneline mode.
Run on platforms: iOS, Android
Thanks!
Duplicated here: https://github.com/cocos2d/cocos2d-js/issues/1761

Not 100% sure about cocos-JS, but in cocos2d-x it can't be done easily, since non of the standard components not provide multiline editing feature.
In cocos2d-x we can show native android / ios view with native components but its not very pleasant workaround.

Related

Custom Cordova IOS keyboard

I am working on a Cordova app for which the client insists we have a custom keyboard for numeric input that looks native; the goal is similar to a keyboard that comes up with PayPal.
Here is the problem: we need to do this without touching the way things work for Android in our app. This probably means we need to create a cordova plugin, but I have read that creating custom keyboard is looked down on by the folks over at Apple (see this old post about it).
I've had a very difficult time finding any documentation on how to do this with Cordova on IOS, which makes me lean towards rolling a solution inside of Cordova using a jquery library. My question has two parts:
1: If possible, how does one create a custom keyboard for html5 inputs in Cordova as an IOS plugin?
2: If this is a lost cause, what existing jquery plugins would you recommend instead?

Drag and Drop functionality in iOS

I wanted to know is there any API for Drag and Drop functionality in iOS.
If API is not available, is there any other way to implement it?
This is kind of alpha but might help: dragkit
Answered pretty thoroughly here
JS library (with drag n drop) compatible with iOS and regular browsers
Included libraries that work on IOS and all browsers at the same time.

What are the blue atomic groupings/tags in MacOS and iOS apps' text field controls called? And is it a standard OS feature?

I have no idea how to call these and so I'm having a hard time googling for it. I've seen these a several times in iOS and MacOS apps to think they might be an OS feature. I'm talking about the blue tags or groups in text field controls. See the images below.
That's an NSTokenField on Mac. On iOS there's no official implementation (file a request if you want one) so you'd have to go with a third-party implementation. If I remember correctly, the Three20 framework has one...
Googling found these iOS versions:
JSTokenField
TTMessageRecipientField (I think)
This helper class is SO much better... https://github.com/thermogl/TITokenFieldView

Corona SDK and IBOutlets

Somebody correct me if im wrong.
There is no way (at least no supported way) to create a View/Windows based iPhone app using the Corona SDK?
I say this mainly because i see no way to work with IBOutlets (anything related to the interface builder). Which makes me believe Corona is not converting anything to Objective C, but rather converts the Lua script to C/C++.
Thanks!
The latest new feature in Corona (currently available only to subscribers) is Corona UI, which emulates most of the native UI components:
http://www.youtube.com/watch?v=9UHNSRilB-0
Note that I say "emulated." It's still not connecting to IBOutlets but it may accomplish what you want.
Corona UI supports most of the native UI components, you can also include widget_iOS for other native components of iOS otherwise you can create your own custom objects.
We can achieve it using Corona Enterprise edition. It has all the option to bridging between LUA and C/C++, lua and objective-C or LUA AND JAVA.
Corona Enterprise provides feature to work in Xcode- objective-C environment to execute same functionalities in corona apps.
http://docs.coronalabs.com/native/enterprise/index.html
Hope this helps for your question.

Have any libraries implemented UITextInputDelegate for Rich Text editing on the iPad?

I'm looking for a rich text editor for the iPad. It appears that this was nearly impossible until iPhone OS 3.2 which included the UITextInput protocol, but that still leaves developers a long way from a functioning editor.
The OMNI Framework has started on a text editor (search google for 'omnigroup texteditor'), but it's more of a proof-of-concept.
Does anyone know of an open source or paid library with a complete implementation of UITextInputDelegate?
https://github.com/omnigroup/OmniGroup/tree/master/Frameworks/OmniUI/iPad/Examples/TextEditor/

Resources