Fork me on GitHub
#clojure-uk
<
2018-07-14
>
Rachel Westmacott05:07:53

Morning, fellow early-bird.

alexlynham09:07:30

yay it's ☀️ again

jasonbell10:07:51

Well I'm glad to report that JSON->Object coercion in Swift has got a lot better. Which makes CompujureAPI->iOS quite an easy ride.

alexlynham10:07:02

whatcha doing in swift?

jasonbell10:07:48

Putting an app together.

alexlynham10:07:05

haha sorry I meant an app to do what?

alexlynham10:07:27

& how do you find swift vs eg cljs and react native?

jasonbell10:07:06

@alex.lynham i) not telling 🙂 and ii) not done any react native, if I'm going to do an iOS thing then I use Swift.

maleghast13:07:05

@dominicm - this is why I think I REALLY need to understand laziness better...

maleghast13:07:49

I got the thing working in the end, but man...

maleghast13:07:55

@jasonbell - I've been meaning to build an iOS app in Swift with a Clojure API Backend for Aaaaaages... Would you recommend..?

alexlynham13:07:37

sigh, another thing I wish I had the time to do

jasonbell21:07:55

@maleghast Build the API out first and test it through Swagger etc, then build the iOS app next. The API might change but the changes in Compojure API are easy to do, it's Clojure after all.

maleghast22:07:20

@jasonbell - Thanks, sounds like the way I would have done it... Are you using CoreData or one of the non-iOS alternatives or working without a data layer on the iOS side?

jasonbell22:07:46

@maleghast I'm so used to using FMDB on SQLite that I've just got the code in raw SQL. Easier to debug too, CoreData is fine but I don' like so much abstraction that I can't see what's going on.

maleghast23:07:00

@jasonbell - Cool, I will check FMDB out...

maleghast23:07:14

@jasonbell - Have you looked at / tried out Realm..?