Can anyone provide a TS example using this widget?
Hey @alexrainman
Here you can find a POC application that shows how to run NativeScript for iOS in Apple TV.
The application is extending UIPageViewController with the marshalling techniques used in NativeScript for data conversion.
The example is in JS but you can follow the guides for runtime references in the documentation (with installing tns-platform-declarations for enabling TS for the native APIs)
@nickIliev i already saw that example but i cannot make it work, i get an exception:
-[UIPageViewController] Unrecognized selector sent to instance
Basically what im trying to do is to migrate my carousel view plugin for Xamarin Forms to Nativescript. Android is completed and its working like a charm but i cannot make iOS to work.
Maybe i can share a repo with you guys and you can take a look at my iOS code and find out what im doing wrong.
I am sure you will like what i am doing here and the community will love it.
Thanks in advance.
@alexrainman looking forward to seeing this. You at this point https://github.com/alexrainman/CarouselView/blob/master/CarouselView/CarouselView.FormsPlugin.iOS/CarouselViewImplementation.cs#L48 ?
@bradmartin i already wrote the whole thing. Android is working but i dont know what im doing wrong in iOS. Im following the documentation without luck. I implemented really cool stuff like TemplateSelector, Remove and Insert pages. As i said, android is ready for the first release.
@bradmartin im going to create a repo and share with you guys so i can get some help identifying what im doing wrong in iOS.
@bradmartin @NickIliev i created a private repo and invited you guys. I am sorry i uploaded everything, haven't time to remove packages and platforms. Please, take a look at carousel-view.ios.ts and let me know what i am doing wrong. I have one implementation using same style i have in my Xamarin.Forms version and another one "commented" that extends from UIPageViewController and implements DataSource and Delegate in one class.
If we can make it work, i will release version one with a good tutorial on how to use it and in my roadmap i will include vertical scrolling/swiping and page indicators.
Thanks in advance.
@alexrainman - couple other devs who might have the solution MUUUUCH faster than I could. @NathanaelA , @TheOriginalJosh , @NathanWalker, @sean-perkins . All very active with NativeScript and owners of many plugins. My iOS knowledge is minimal to be honest 馃槃 .
@bradmartin will invite them. Thanks
This issue was moved to NativeScript/ios-runtime#668
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
@bradmartin im going to create a repo and share with you guys so i can get some help identifying what im doing wrong in iOS.