Fork me on GitHub
#cljsrn
<
2016-01-17
>
artemyarulin04:01:34

@mfikes: Even php devs http://phap.landingpage.io have better looking site than yours http://cljsrn.org 😄

mfikes04:01:07

Wow, that does look nice

artemyarulin04:01:25

time to switch. Heard only good things about php

jaen09:01:52

Reading the features I can't even tell if that page is serious or a troll : V

mfikes14:01:43

You can appreciate this one simple_smile http://clochure.org

jaen14:01:41

I don't know about [] but sweet-clojure could possibly be pretty awesome.

debug15:01:15

Phap, can't take that name seriously. Sounds more like porn for php devs.

debug15:01:23

Ingenious! So square brackets even transform an imperative mindset to a functional one 😛

pesterhazy16:01:34

"cljsrn" doesn't exact roll of the tongue 😐

artemyarulin16:01:26

You can find thousands of iOS developers that can jump right on to Clochure Projects
lol

tord19:01:49

Are React Native questions that are not directly ClojureScript related welcome in this channel? If not, does anyone anyone know a better forum for such question elsewhere on the web?

pesterhazy19:01:12

I for one would appreciate these kinds of questions

pesterhazy19:01:29

not an chanel op though simple_smile

tord19:01:20

Thanks! I'll wait and see what everybody else thinks before I start posting stupid questions, though. simple_smile

meow19:01:21

I would say to not wait long and just go for it until someone suggests a different channel

meow19:01:58

but I'm a troublemaker, so, take anything I say with a good dose of salt

artemyarulin19:01:21

I would say go on. Many people here are new to RN, so it would be nice to let people know about usual issues and solutions

tord19:01:39

OK, thanks! But please, everyone, don't hesitate to ask me to shut up. I won't take offense. Right now, I have two questions:

tord19:01:27

Is there anything analogous to an iOS UIToolbar for React Native? I can't seem to find it.

tord19:01:58

Second question: How do I do custom drawing?

artemyarulin20:01:42

@tord: Do you mean the control with buttons an the bottom? Like this one? http://facebook.github.io/react-native/docs/tabbarios.html#content

artemyarulin20:01:05

and regarding custom render - what exactly do you mean? Custom component? OpenGL? Canvas kind of vector rendering?

tord20:01:52

Not quite, toolbars and tab bars are different things in iOS. See this page in Apple's User Interface Guidelines for information about how they differ and when to use which:

tord20:01:30

Regarding custom drawing: I'd like to be able to freely draw lines, curves, polygons, PNG images, etc. to a view, like using Core Graphics, a HTML Canvas, or whatever. I don't care much exactly what technology I use as long as performance isn't terrible and I can draw anything I want programmatically.

tord20:01:20

Of course I could just use a native view, but since I expect I'll need a lot of custom drawing all over the place, much of the benefits of using React Native will disappear if I can't use it for drawing.

artemyarulin20:01:29

Regarding toolbar - I wouldn’t bother to follow UI guidelines that strictly. But if you really want to have it - then creating wrapper around the UIToolbar should NOT be a big task. Custom drawing - this is not a task that RN wants to solve, so pretty much the only solutions is using native view or another approach (not sure about performance) - using webview and draw graphics there. That way you would get cross-platform solution but not native for sure

artemyarulin20:01:41

Actually I’ve seen something regarding custom drawing in RN, but couldn’t find it now

artemyarulin20:01:06

found it - it called ART

artemyarulin20:01:32

recently Android version got a support of ART as well

artemyarulin20:01:57

not sure how to use it or anything else about that sorry simple_smile

tord21:01:00

@artemyarulin: Thanks! Unfortunately, it's beginning to look that large parts of our app would consist of native view components with wrapper boilerplate, if we decide to go the React Native route. The number of built-in and community contributed components is still rather small, and even for those that exist, it looks like the styling options may not be flexible enough to make things look exactly like our designers want.