This is a migrated thread and some comments may be shown as answers.

Support for iOS Storyboards, Extensions, WatchKit?

1 Answer 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael
Top achievements
Rank 1
Michael asked on 13 Mar 2015, 05:32 AM
Really struggling to get some details on this. Does NativeScript support native iOS storyboards? Native Android views? iOS 8 extensions? iOS WatchKit?

1 Answer, 1 is accepted

Sort by
0
Mihail
Telerik team
answered on 13 Mar 2015, 08:58 AM
Hello,

The technology allows us with little additional piping to support iOS Storyboards.
We have an example here:
https://github.com/NativeScript/ios-runtime/tree/master/examples/Gameraww/Gameraww
That example declares UI in Storyboards and the controllers in JavaScript.
We do not plan to push that main-stream, as we are working on our own UI markup.
We may (or may not) device a facility that will generate Storyboards from subset of our markup for the WatchKit.

We have already proven internally that the NativeScript runtime can be built as shared iOS framework and managed to build a today view extension with buttons created in JavaScript. WatchKit will need both storyboards and extensions and will be somewhat tricky to implement but we have plans to support it post v1.

As for native Android views, currently NativeScript for Android doesn't support XML layouts. However, NativeScript comes with cross-platform XML layouts (http://docs.nativescript.org/ui-with-xml) which is similar to Android XML layouts. Also, we are actively discussing whether and how to provide support for existing platform specific layouts (Android, iOS and Windows Phone in future).

Regards,
Mihail
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Michael
Top achievements
Rank 1
Answers by
Mihail
Telerik team
Share this question
or