the decision to write the new ui stuff in corona/lua as opposed to in obj c / java
Where do you see that? [import]uid: 12108 topic_id: 6055 reply_id: 21803[/import]
the decision to write the new ui stuff in corona/lua as opposed to in obj c / java
Where do you see that? [import]uid: 12108 topic_id: 6055 reply_id: 21803[/import]
Agreed!
Lets hope it’s not just a rehash / expansion of the existing ui.lua. Me? I know Carlos won’t let us down!
Mind you I would also like flexibility for example being able to supply your own images for each ui widget element [import]uid: 9371 topic_id: 6055 reply_id: 21804[/import]
Sigh…
Kids… just calm down…
Wether it is Corona display objects, or an Obj-C wrapper. It won’t matter to you because we are doing all the heavy lifting.
ListView control in four lines of code and populate it with an xml file?
We can give you all the native calls you want, but what do you rather have, simplicity so you can focus on your app, or complexity and worry about every little detail about how to populate your UI and spend countless days figuring out why you can’t translate your strings to other languages rather than pointing to a xml file. Or a date picker in one line?
Think for a moment. One half dozen or the other. The point is Corona makes things simpler. That’s our job.
Now talk amongst yourselves.
And no we won’t be supporting retina display text.
C
just kidding on the retina display text. Just wanted to get your blood going See how easy it is? Poke. [import]uid: 24 topic_id: 6055 reply_id: 21807[/import]
Yep, it’s pretty easy to get my blood going. Seriously though, you better have retina support. [import]uid: 8782 topic_id: 6055 reply_id: 21808[/import]
Fair enough Carlos, and obviously I agree that the whole point is you guys doing the heavy lifting is where the value is, or I wouldn’t be here.
I certainly don’t care about *how* you do it, as long as the controls pass what I call the “Fido Test.” Imagine a dog named Fido, for his whole life his master has been Cocoa Touch. He knows how it smells, he can hear noises it makes that we can’t etc… So, if he comes across the Corona version of the controls in the wild, will he sniff a little, turn his head at a funny angle, and then move on, or will he snuggle up to them comfortably?
Wow, not sure where that came from, I am not even drinking, I hope you know what I mean though. I want it to pass the Fido test and not be like all those “almost-there” HTML5 approximations like Sencha etc…
On a positive note, if it is pure framework, then we’ll be able to make customizations to the controls quickly and easily which will be pretty cool.
Now, Carlos send me “coronaui.lua” so I can play with it please. Ok thanks.
Carlos, this is one example of what I am talking about, hope this makes sense: http://goo.gl/zPOD
[import]uid: 11196 topic_id: 6055 reply_id: 21868[/import]
we have been demoing our coffeedemo app and been showing it to people. no body ever winces, notices, or wonders if they are corona or native…
as for your video, you think i don’t know? Mr. Ricked Roll. Who you think I am? Some punk that doesn’t know how to sniff out these kind of stuff.
Well… Loved it !
C. [import]uid: 24 topic_id: 6055 reply_id: 21879[/import]
Too bad the video says : “This video contains content from Vevo, who has blocked it in your country on copyright grounds. Sorry about that.” [import]uid: 11904 topic_id: 6055 reply_id: 21901[/import]
I just wanted to say that the current UI is very usable (thank you Ansca for even providing the ui.lua) it’s just needs a little work to get it going on a retina display but it can quite easily. The trouble with Corona is it makes you lazy as a programmer! You can make nice looking productivity type apps especially if you have good retina widget graphics. I don’t mean to steal this thread but thought people might like to see what can be done with the existing UI. Just imagine how much better it will be with the new UI. (This is ‘retina enabled’).
ListView control in four lines of code and populate it with an xml file?
And can the detail view also be populated in a similar way?
Like you say Carlos, I suppose it doesn’t really matter how it’s implemented as long as it’s powerful/flexible/configurable and will work seamlessly on all devices.
Enough talking, time to ship
Quick question:
Using the current UI, I can create a button, life is good. But I cannot see where in the UI code that the button event handler is freed. So how should I cleanly remove a button. Will a removeSelf also remove it’s internal listener? [import]uid: 9371 topic_id: 6055 reply_id: 21919[/import]
Using the current UI, I can create a button, life is good. But I cannot see where in the UI code that the button event handler is freed. So how should I cleanly remove a button. Will a removeSelf also remove it’s internal listener?
I noticed this exact same thing a while ago and asked about it, but the thread was ignored. So now I just remove the touch event on the button before I call removeSelf on it. [import]uid: 12108 topic_id: 6055 reply_id: 21960[/import]
@dweezil @jhocking: YES, when you call removeSelf(), associated listeners (such as touch events, enterframe listeners, etc) are also removed from it, so no worries.
No need to waste your time removing touch events on an object. Just call removeSelf() and nil out that object and everything will be ok
Hope that answers your question! [import]uid: 7849 topic_id: 6055 reply_id: 22086[/import]
That’s good to know. I don’t expect to change anything in my current project because I remove the touch listeners before the scene transition and then remove the buttons after. [import]uid: 12108 topic_id: 6055 reply_id: 22108[/import]
And if the object has ‘children’ objects are they correctly removed?
For example if I have a top level display group that contains a scroll view, which in turn has ‘children’ objects etc etc, can I just call removeSelf on the top level display group and be safe in that Corona will remove all listeners, children and grand children objects and listeners? [import]uid: 9371 topic_id: 6055 reply_id: 22131[/import]
It might be wise to note that this is note true for timers - they will continue to fire and cause the object they are calling to stay in memory. This is a different situation because timers are not attached to anything as listeners are; It’s the other way round. Problem is that if don’t explicitly cancel a timer it will call the timer function on your object, which will stay in memory because the timer has a ref to it, and the object won’t be able to refer to itself properly because it’s values have been cleaned. [import]uid: 8271 topic_id: 6055 reply_id: 22137[/import]
As someone who only downloaded Corona yesterday and has only just completed “Hello, World!”, I am VERY glad to see these future plans.
Unlike 99% of everyone else (it seems), my goals are NOT to produce cool games, but instead to produce medical applications, which requires a lot of user input / numerical entry / date entry / etc.
I was rather disappointed this morning when I couldn’t find much support for UI elements for inputs, and started to try to find other potential development systems, thinking that perhaps Corona wasn’t going to work for me.
Now, I’m hopeful again that Corona will be useful for my goals. Can’t wait to see how this pans out.
[import]uid: 37155 topic_id: 6055 reply_id: 22336[/import]
Hang in there, I reckon it can only be a few days away! [import]uid: 9371 topic_id: 6055 reply_id: 22337[/import]
Yes great work Carlos and the team, I’m hoping to re-write one of my existing apps I did in objC which uses listviews sqlite, gps, mapping in corona now, awesome!
I wonder if it will render listviews from XML on the web? Or perhaps an option to load from a sqlite db also???
Cheers
Gary [import]uid: 7334 topic_id: 6055 reply_id: 22712[/import]
Any docs on what all the new CoronaUI will include? I’ve only seen the one demo. Also, is it the plan to drop this as a daily build? [import]uid: 11072 topic_id: 6055 reply_id: 23045[/import]
Your own Chrome.
Bling Bling
And a demo of CoronaUI with universal binary support. See what happens when on iPad
http://www.youtube.com/watch?v=NCozIio4ucA
c [import]uid: 24 topic_id: 6055 reply_id: 23145[/import]
You know what I’m about to ask
What about limiting the view height (especially ipad) of table- and listviews?
[import]uid: 12870 topic_id: 6055 reply_id: 23176[/import]
…and what about pop-over controls, like the iPad’s Mail Inbox list?
[EDIT] Having said that, just how customisable are these controls? Would the chrome allow for pop-over chrome? [import]uid: 8271 topic_id: 6055 reply_id: 23178[/import]