NimbleKit - fast iOS app development

1.7 public beta 2

Beta versions of NimbleKit and related discussion

1.7 public beta 2

Postby sunny » Tue Mar 09, 2010 5:13 pm

Public beta 2
Fixed: NKInternetPlayer's glitches
Fixed: NKImage's method resize
Fixed: Slow startup
Fixed: crash when empty parameters passed

If you use NKInternetPlayer please test that your streams work correctly, as 90% of functionality was rewritten on low level some regression bugs may appear.

P.S.
Please don't use bug tracker for beta, use only this post to report bugs you found.
Attachments
v.1.7 beta 2.dmg.zip
(1.42 MiB) Downloaded 229 times
User avatar
sunny
Staff
 
Posts: 2699
Joined: Sat May 30, 2009 5:18 am
Location: Palo Alto, California

Re: 1.7 public beta 2

Postby norwegian » Tue Mar 09, 2010 5:45 pm

Was settings' behaviour changed in any way? Some of my functions involving set/get is now broken (1.7).
norwegian
 
Posts: 96
Joined: Sat Oct 17, 2009 6:58 pm

Re: 1.7 public beta 2

Postby sunny » Tue Mar 09, 2010 7:49 pm

yes, it's changed, provide an example what does not work and it will be fixed.
User avatar
sunny
Staff
 
Posts: 2699
Joined: Sat May 30, 2009 5:18 am
Location: Palo Alto, California

Re: 1.7 public beta 2

Postby apt » Tue Mar 09, 2010 8:55 pm

Good news Sunny, look like the startup speed problem has been resolved in my case, back down to 6-7 second startup. Not seeing the startup speed increase you initial mentioned that would be in 1.7 though.

I'm happy though :)
Adrian Thompson
Founder
http://www.taptapp.co.uk

NimbleKit Registered User: U853078901
User avatar
apt
NimbleKit Expert
 
Posts: 356
Joined: Fri Jan 29, 2010 11:52 pm
Location: Sheffield, UK

Re: 1.7 public beta 2

Postby sunny » Tue Mar 09, 2010 9:24 pm

well, it's hard to see, as NimbleKit methods take less then 2% of CPU time, most of the time takes HTML loading, js and CSS. That's why I'm thinking about splitting NKit.js to smaller files like "NKControls.js", NKCommon.js, NKAudio.js, etc. this will speed up launch time and overall performance and there will be much less to parse. considering that NKit.js is included on every page this will be noticeable speedup.
User avatar
sunny
Staff
 
Posts: 2699
Joined: Sat May 30, 2009 5:18 am
Location: Palo Alto, California

Re: 1.7 public beta 2

Postby apt » Tue Mar 09, 2010 10:08 pm

Sounds like a good idea to me. So for example if you don't need audio functions for you app you don't include nkaudio.js and therefore speed things up.
Adrian Thompson
Founder
http://www.taptapp.co.uk

NimbleKit Registered User: U853078901
User avatar
apt
NimbleKit Expert
 
Posts: 356
Joined: Fri Jan 29, 2010 11:52 pm
Location: Sheffield, UK

Re: 1.7 public beta 2

Postby ueilat » Tue Mar 09, 2010 11:42 pm

installed
now app start without any problem
clearannotations now work even if a bur remain. After a call to clearannotations, the GPS location blue point diseappers
User avatar
ueilat
NimbleKit Expert
 
Posts: 283
Joined: Fri Feb 12, 2010 2:31 am
Location: Torino, Italy

Re: 1.7 public beta 2

Postby Big-O » Wed Mar 10, 2010 10:48 pm

I'm anxious to start working with the SQLite support. Do you have documentation for that written yet?
-- Big-O
-- Nimblekit Guru, Web Developer, Hopeless Geek

I do freelance!
http://realisticweb.com
User avatar
Big-O
NimbleKit Guru
 
Posts: 1231
Joined: Thu Sep 24, 2009 4:02 am

Re: 1.7 public beta 2

Postby tvalleau » Wed Mar 10, 2010 11:33 pm

It's all the same except that now getResults now returns an array. Much more convenient. I'm using it successful right now.

var database = new NKSQLite();
database.openDatabase("controldb.rdb","yes");
database.executeSQL("SELECT * FROM sheet1 WHERE isused IN (1)");
var myArray = database.getResults();
var xx = myArray[0].fieldname;
"Don't believe everything you think."
(coding for iPad with 1.8.3)
User avatar
tvalleau
NimbleKit Expert
 
Posts: 220
Joined: Tue Jan 05, 2010 7:58 pm

Re: 1.7 public beta 2

Postby edgedata » Thu Mar 11, 2010 2:57 am

I see in the RoadMap that NKModalWindow has been updated in 1.7 with the following added.

setAlpha(val) and setFrame(x,y,w,h) methods were added.

Code: Select all
modal = new NKModalWindow();
modal.setFrame(20,0,320,400);
modal.setAlpha(val);
modal.show();
var indicator = new NKActivityIndicator();
indicator.init(90, 165, 30, "white");
indicator.show();
indicator.spin();
modal.addControl(indicator);

var label = new NKLabel();
label.init(140, 158, 140, 40, "Please wait...");
modal.addControl(label);
label.show();
var button = new NKButton();
button.init(120, 210, 100, 40, "buttonClick");
button.setTitle("Dismiss");
modal.addControl(button);
button.show();


This doesn't work for me and I'm not sure what I should use for 'val' in setAlpha.

Could you please provide sample code on how to use the new features.

Thanks
edgedata
 
Posts: 21
Joined: Sat Feb 20, 2010 3:52 am
Location: Lincoln UK

Next

Return to Beta Versions

Who is online

Users browsing this forum: No registered users and 0 guests