NimbleKit - fast iOS app development

Menu type button

Feature requests and propositions

Menu type button

Postby tarnfeld » Wed Sep 02, 2009 10:20 pm

Hi
Is there any way to build a 'menu' with NKButton?
By menu i mean, with the image and little arrow? :)

Thanks!
tarnfeld
 
Posts: 189
Joined: Mon Jun 15, 2009 9:37 pm

Re: Menu type button

Postby jbardi » Fri Sep 04, 2009 11:21 pm

Do you mean something like the Windows start button? Or maybe I am not quite understanding. Could you attach an image representing what you mean?
User avatar
jbardi
 
Posts: 141
Joined: Fri Jul 17, 2009 8:01 am

Re: Menu type button

Postby tarnfeld » Sat Sep 05, 2009 9:24 am

Image
This?
tarnfeld
 
Posts: 189
Joined: Mon Jun 15, 2009 9:37 pm

Re: Menu type button

Postby jbardi » Sat Sep 05, 2009 11:28 am

tarnfeld, I don't understand. You said in another post that you are a mod on the iWebkit forum, yet you keep posting questions about interface objects that we have already discussed as being best achieved by using either iWebkit or iUi. If you are a mod on their forum, why on earth are you not using iWebkit but instead you expect the Nimblekit team to keep including redundant interface objects that are more easily implemented with existing projects?

What you are talking about is part of the Tableview style referred to as the classic list view, only inside individual white, rounded bubbles instead of being the full width of the screen. These types of interface objects are not going to be implemented into Nimblekit as they would be too limited in their visual style, while using the CSS files and image files from iWebkit or iUi gives you more freedom to display them how you like, such as Music View and Store View which would display with thumbnails and descriptions or standard Classic List view like you are looking for.

Honestly, the majority of the Interface with Nimblekit should be achieved through straight HTML and CSS and not by using a whole slew of custom Nimblekit created objects. That would only serve to make Nimblekit bulky and too large to implement into every project without manually removing references to objects you are not useing from the javascript file to slim it down for each separate project.

Nimblekit should be a functional, light weight API to access features of the iPhone, not a recreation of the Interface Builder of XCode. All of these visuals can be achieved very easily without having to add buttons and lists and checkboxes and all of this bloated code inside of the Nimblekit libraries.

I personally do not even us NKButton, nor do I really think it should have been included, as I see it as a duplication of an HTML form button that is better styled through CSS rather than as a static object.
User avatar
jbardi
 
Posts: 141
Joined: Fri Jul 17, 2009 8:01 am

Re: Menu type button

Postby tarnfeld » Sat Sep 05, 2009 4:10 pm

I will read your full post later - quick reply

I know, but i do love native elements :)
tarnfeld
 
Posts: 189
Joined: Mon Jun 15, 2009 9:37 pm

Re: Menu type button

Postby HalfMoon » Sat Sep 05, 2009 5:46 pm

There are plus & minus points with either approach. Html/Css is infinitely customisable and can be moulded into whatever you want it to look like - however unlike native elements they take longer to render within a UIWebView. With regards to size & code bloat, the html & css definitions aren't necessarily smaller then implementing a native UI element. I guess it depends on how native looking (and funcionally similar) you want a hybrid app to be.
User avatar
HalfMoon
NimbleKit Guru
 
Posts: 662
Joined: Thu Jun 04, 2009 6:21 pm
Location: Brighton, UK

Re: Menu type button

Postby tarnfeld » Sat Sep 05, 2009 7:58 pm

Maybe so, but as i believe you said on another thread, the reason NimbleKit is not a 'rejectee' of the app store, is its use of native elements!
tarnfeld
 
Posts: 189
Joined: Mon Jun 15, 2009 9:37 pm

Re: Menu type button

Postby jbardi » Sun Sep 06, 2009 2:52 am

No, not native interface elements, native FEATURES of the iPhone! Having access to native FEATURES is what allows Nimblekit apps to get approved over PhoneGap (phonecrap) applications. Nimblekit should be seen as what it is... a javascript bridge to true Objective-C, not a complete replacement... that is why Sunny suggests we utilize the Obj-C/JS mix functionality... If sunny keeps creating all the interface for you, suddenly you stop coding and start dragging... that is the downfall of true WYSIWYG environments and why everyone in the world thinks they are HTML/Javascript/CSS developers when all they do is drag objects around and call it development.

The more bloat you have the more chances of bugs... I don't want a bunch of code for unnecessary interface objects causing bugs to internal functions that are already working. I even think audio and video functionality in Nimblekit is a duplication of the capabilities already built into HTML5 natively. I just don't want Nimblekit to keep having to create all of these objects that are limited in their scope so a few people do not have to learn how to do it themselves, and in the end we all suffer by having more bugs and more bloat.

Just my opinion, and if it starts happening, then I will just have to start sliming down Nimblekit on each of my apps by manually removing code I do not want laying around that reference objects I am not using. Only problem is, I can only slim down the javascript file... We will still be stuck with a bloated framework.
User avatar
jbardi
 
Posts: 141
Joined: Fri Jul 17, 2009 8:01 am

Re: Menu type button

Postby tarnfeld » Sun Sep 06, 2009 10:30 am

Hi
Thanks for your unnecessary long posts, no need to get on your high horse about this... you could of just said something simple like "These featrures are capable with raw html and css, why give more chance for bug"

Thanks anyway
tarnfeld
 
Posts: 189
Joined: Mon Jun 15, 2009 9:37 pm


Return to Wish list

Who is online

Users browsing this forum: No registered users and 1 guest