发布于 2015-10-13 00:20:17 | 158 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

NativeScript 跨平台移动端开发

NativeScript 可以使用 Javascript,CSS, XML 创建真正的 Native 跨平台应用,支持 iOS Android,NativeScript 将您的跨平台代码翻译成目标平台的代码。


NativeScript 1.4.0 发布,此版本更新内容如下:

重大改进

(#774) Animation 类不再包含完成属性,因为一个动画可以在多个时间播放。

旧版代码 (JavaScript):

animation1.play().finished.then(function () { console.log("Finished"); });
New Code (JavaScript):

animation1.play().then(function () { console.log("Finished"); });
Old Code (TypeScript):

animation1.play().finished.then(()=>console.log("Finished"));
New Code (JavaScript):

animation1.play().then(()=>console.log("Finished"));

Bug 修复

  • (#904) Navigate clearHistory sometimes crashes Android with a null pointer exception

  • (#901) TypeError: using example from docs

  • (#893) isLoaded is set before calling applyStyleFromScope

  • (#873) The Repeater is re-creating its children multiple times during initialization.

  • (#867) utils.ad.async method is not implemented

  • (#857) Android action dialog actions are not shown if message is provided

  • (#851) takePicture crashes iOS Simulator

  • (#848) web-view loads local data with UTF-8

  • (#843) [iOS] Page is layouted as there is no NavigationBar

  • (#839) Page background now spans under ActionBar

  • (#837) Blank Text attribute on SearchBar crashes app

  • (#835) iOS animations combining several affine transform properties set only the first property on our view after they finish.

  • (#832) Transformations such as scale, translate, rotate won't be incorrectly affected by the layout

  • (#819) WebView check for http/https should be case insensitive

  • (#817) timers.clearInterval doesn't work on Android

  • (#814) Ternary if and parenthesis makes UI not update

  • (#808) Segmentedbar selectedIndexChanged doesn't work

  • (#805) Missing console.dump on ios...

  • (#793) Label.backgroundColor cannot be animated in iOS.

  • (#790) Cannot use number values in EditableText's hint field

  • (#777) ios Border-radius on Label

  • (#774) If an Animation instance is played more than once, the same promise is resolved each time leading to unexpected results.

  • (#772) Placeholder with an id attribute doesn't call creatingView handler

  • (#763) 1.3 - Can not build new project due to missing App_Resources

  • (#759) Android animations that animate a property to its current value do not run.

  • (#756) Nordic characters: "æøå"

  • (#744) iOS 9 issues

  • (#732) Closing an alert on the iPad crashesh the whole app.

  • (#605) Guard for "undefined" in Observable's on and off

新特性

  • (#890) Implement Page background option to span under status bar (iOS only)

  • (#766) Rename cssClass property to just class

  • (#740) Modules does not support iOS9

  • (#713) ReturnKeyType Listener

  • (#283) Cross platform way to clear history

  • (#241) Set base URL in WebView to be able to load resources

下载:

NativeScript 可以使用 Javascript,CSS, XML 创建真正的 Native 跨平台应用,支持 iOS Android,NativeScript 将您的跨平台代码翻译成目标平台的代码。

UI 使用 XML 描述,CSS 样式,在编译时将 UI 转化成本地原生代码,最终得到正在的 Native 原生应用。



历史版本 :
NativeScript 3.4.0 发布,创建跨平台原生应用的框架
NativeScript 3.4.0 发布,创建跨平台原生应用的框架
NativeScript 3.3.0 发布,Native 跨平台应用
NativeScript 3.1.0 发布,Native 跨平台应用
NativeScript 3.0.1 发布,Native 跨平台应用
NativeScript v3.0.0 发布,Native 跨平台应用
NativeScript v2.5.2 发布,Native 跨平台应用
NativeScript 3.0 计划4月发布,集成 Angular 4
NativeScript v2.4.2 发布,Native 跨平台应用 
NativeScript v2.4.1 发布,Native 跨平台应用
NativeScript 2.4.0 发布,Native 跨平台应用
NativeScript 2.3.0 发布,Native 跨平台应用
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务