This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-11-30
Channels
- # admin-announcements (13)
- # announcements (2)
- # avi (1)
- # aws (10)
- # beginners (427)
- # boot (3)
- # cider (4)
- # clara (26)
- # cljs-dev (21)
- # cljsrn (24)
- # clojure (205)
- # clojure-dev (32)
- # clojure-india (26)
- # clojure-japan (1)
- # clojure-russia (256)
- # clojurescript (41)
- # clojurex (1)
- # cursive (38)
- # datavis (99)
- # datomic (15)
- # emacs (19)
- # events (2)
- # funcool (5)
- # immutant (45)
- # ldnclj (3)
- # om (60)
- # omnext (4)
- # onyx (383)
- # overtone (7)
- # parinfer (1)
- # re-frame (3)
- # reagent (7)
- # ring (1)
- # testing (5)
@artemyarulin: Yes! The same but with Om Next would be great!
@johanatan: just send me an email address you'd like me to have Apple's TestFlight send a beta invitation
Hi @mfikes, I’ve been trying to integrate https://github.com/aksonov/react-native-tableview like you did with your article on the react-native-swiper
but to no avail. I’m stuck by a xcode compilation issue where RNCellViewManager can’t locate RCTViewManager.h. I’ve added React as a build phase dependencies with Link Binary with Libraries
but it’s doesn’t work better.
@gphilipp: One idea is to, on the side, do react-native init FooApp
to just try it in a plain-vanilla fashion, and then go through https://github.com/aksonov/react-native-tableview#getting-started
Good advice. This is what I did. I followed the getting started instructions of the component’s github ,it compiles ok in XCode but it fails when I hit Run:
2015-11-30 14:25:52.626 [trace][tid:com.facebook.React.JavaScript][RCTContextExecutor.m:129] 'Failed to print error: ', 'Requiring module "NativeModules" which threw an exception'
2015-11-30 14:25:52.627 [trace][tid:com.facebook.React.JavaScript][RCTContextExecutor.m:129] 'Failed to print error: ', 'Requiring module "ExceptionsManager" which threw an exception’
It seems [others](http://stackoverflow.com/questions/32949615/setting-up-react-native-unhelpful-error-messages) have seen this issue as well.Ok, I started over, and I finally made it work: https://github.com/gphilipp/FooApp/blob/master/README.md
That’s great Mike, I’m looking forward to see it ! I think I’m about to succeed as well, I just need to properly require TableView.Section and TableView.Item from core.cljs
.
(def TableView (js/require "react-native-tableview/index.js"))
(def Section TableView.Section)
(def Item TableView.Item)
Ok, I was quite far
(def tableview (js/require "react-native-tableview/index.js"))
(defn table-view [opts & children]
(apply js/React.createElement
tableview (clj->js opts) children))
(defn section [opts & children]
(apply js/React.createElement ((.Section) table-view)) children)
Woot, got it working on my side too. Still have issues with FlexLayout, but no big deal. Thanks again.
Didn’t you have to comment out some tests in the objective-c code of the component (which would not compile)