[Course] angular2: Use Objective C, Swift and Java api’s in NativeScript for Angular iOS an...

2017-06-05 我来了

One of the really exciting aspects of NativeScript is the ability to write Objective C, Swift and Java apis directly from JavaScript and of course TypeScript. In this course, we will learn how to code directly against these powerful native api’s with NativeScript for Angular. Many rich libraries are written and published in these languages. With NativeScript you are no longer limited to just JavaScript based libs, but have direct access to these api’s right from JavaScript/TypeScript. Let’s look at how to include these native libraries internally to your project as well as build public plugins to share with the community. We will cover some considerations with Objective C and Swift based libraries as well as Java/Android libraries. What the heck is a CocoaPod you might say? Why is your baby cradle still hanging around your code?! …no, no, it’s Gradle! Who let the Android Arsenal out?! You can think of all these resources (CocoaPod, Gradle, Android Arsenal) like npm for native libs. iOS libraries can be found via CocoaPods , Android libraries can be found via Gradle or Android Arsenal . Let’s also cover how to write custom view components based on native libs since there are considerations for both iOS and Android. Lastly we will learn how to best handle cases where a plugin/library only supports 1 platform.


用户评论
开源开发学习小组列表