ANN: clojure-objc 1.7.0-RC1

2015-06-07 Thread Gal Dolber
## Dependencies https://github.com/galdolber/clojure-objc [galdolber/clojure-objc "1.7.0-RC1"] https://github.com/galdolber/lein-objcbuild [lein-objcbuild "0.1.9"] ## Changes * Sync with clojure 1.7.0-RC1 * Consistent anonymous functions naming to prevent cascade changes, resulting on faster incr

Re: ANN: clojure-objc 1.7.0-beta2

2015-05-07 Thread Gal Dolber
I have 2 apps in production, but they are enterprise apps so they are not in the AppStore. There are many apps built with j2objc in the AppStore already, and internally this is just that, it generates objc code and it doesn't violate any Apple terms. Inbox by Google and Google Sheets are built with

Re: ANN: clojure-objc 1.7.0-beta2

2015-05-07 Thread Rangel Spasov
Have you built or released on the App Store any apps using this? I'm just wondering if you'd classify it as "feature complete" and "ready to use" or it's more in the experimental phase. On Thursday, May 7, 2015 at 11:32:20 AM UTC-7, Gal Dolber wrote: > > Thanks! Yes, thats the project from Googl

Re: ANN: clojure-objc 1.7.0-beta2

2015-05-07 Thread Gal Dolber
Thanks! Yes, thats the project from Google that translates java to objc On Thu, May 7, 2015 at 3:23 PM Rangel Spasov wrote: > This is very cool! I saw some references to > https://github.com/google/j2objc - is that what the project uses to do > the Java -> ObjC? > > > > On Wednesday, May 6, 2015

Re: ANN: clojure-objc 1.7.0-beta2

2015-05-07 Thread Rangel Spasov
This is very cool! I saw some references to https://github.com/google/j2objc - is that what the project uses to do the Java -> ObjC? On Wednesday, May 6, 2015 at 8:13:10 PM UTC-7, Gal Dolber wrote: > > Clojure-objc, the Clojure compiler that targets objc runtimes. > > clojure-objc

[ANN] clojure-objc 1.5.1-1

2014-01-28 Thread Gal Dolber
== clojure-objc 1.5.1-1 https://github.com/galdolber/clojure-objc - ObjC interop re-implemented to support arm64 - Introducing nsproxy: extend classes or implement anonymous objects on runtime == lein-objcbuild 0.1.3 https://github.com/galdolber/lein-objcbuild - Allow objc sources with :objc-s

Re: ANN: clojure-objc

2014-01-27 Thread PublicFarley
Thanks again Gal. Are you going to throw the new bits up to clojuars or maven.org? Could not find artifact galdolber:clojure-objc:jar:1.5.1.1 in central (http://repo1.maven.org/maven2/) Could not find artifact galdolber:clojure-objc:jar:1.5.1.1 in clojars (https://clojars.org/repo/) On Sund

Re: ANN: clojure-objc

2014-01-26 Thread Gal Dolber
I reimplemented the interop and its fully functional now. Just download the last binary from https://github.com/galdolber/clojure-objc On Sun, Jan 26, 2014 at 6:17 PM, Gal Dolber wrote: > That's a bug in the objc interop, the type detection is incomplete. > > > https://github.com/galdolber/cloj

Re: ANN: clojure-objc

2014-01-26 Thread Gal Dolber
That's a bug in the objc interop, the type detection is incomplete. https://github.com/galdolber/clojure-objc/blob/master/src/jvm/clojure/lang/Selector.java?source=c#L87 The error you get is happening on arm64(iphone 5s or simulator 64bits), it should work on i386, armv7 and armv7s. On Sun, Jan

Re: ANN: clojure-objc

2014-01-26 Thread PublicFarley
I got an error as posted in my 1:01 PM post below. I've uploaded my source in case it helps. Basically it's your github sample code. On Sunday, January 26, 2014 8:15:17 AM UTC-5, Gal Dolber wrote: > > I added a better sample with a UINavigationController and a small uikit > framework(very very

Re: ANN: clojure-objc

2014-01-26 Thread PublicFarley
Hi Gal. Just tried your code and got the following... Any ideas on what may be failing? *Clojure_objc_sampleuikit__init* *2014-01-26 12:47:20.733 hithere[1646:70b] *** Terminating app due to uncaught exception 'Type not found', reason: '{CGRect={CGPoint=dd}{CGSize=dd}}'* First throw cal

Re: ANN: clojure-objc

2014-01-26 Thread PublicFarley
Awesome. Thanks Gal. Can't wait to check it out. -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first p

Re: ANN: clojure-objc

2014-01-26 Thread Gal Dolber
I added a better sample with a UINavigationController and a small uikit framework(very very alpha). https://github.com/galdolber/clojure-objc-sample/blob/master/src/clojure_objc_sample/core.clj Feedback and improvements on the uikit framework are very much welcome. On Sat, Jan 25, 2014 at 10:08

Re: ANN: clojure-objc

2014-01-25 Thread PublicFarley
Thanks for the quick reply Gal. Excellent advise. I never thought to do it that way. Need to stretch my thinking a bit... LOL. Yes your compilation technology could enable a lot of creative thinking around frameworks and libraries for iOS UI construction in Clojure. Much like the excitement an

Re: ANN: clojure-objc

2014-01-25 Thread Gal Dolber
To get started just follow the steps here: https://github.com/galdolber/lein-objcbuild You should be able to get everything setup in a few minutes. On Sat, Jan 25, 2014 at 10:02 PM, Devin Walters wrote: > (inc #'your/idea) > > I performance related questions similar to Tim, but I think having

Re: ANN: clojure-objc

2014-01-25 Thread Gal Dolber
Loading performance is actually better than clojure on the jvm, on my notebook loading clojure.core takes 700ms on the jvm and 200ms on the ios simulator. And for computation performance I haven't benchmark yet, but at first sight doesn't seems to be a problem. On the second question, j2objc gene

Re: ANN: clojure-objc

2014-01-25 Thread Devin Walters
(inc #'your/idea) I performance related questions similar to Tim, but I think having some good "getting started" material might give me a way to start testing the boundaries myself. Cheers, '(Devin Walters) > On Jan 25, 2014, at 17:31, PublicFarley wrote: > > I'm utterly shocked by the lack

Re: ANN: clojure-objc

2014-01-25 Thread Timothy Baldridge
What's the performance of this code like? I'd be interested in seeing how performance on Clojure data structures compares. In my experiments with reference counting and highly polymorphic code, getting much faster than languages like Python was quite hard. Without a more dedicated optimizer that un

Re: ANN: clojure-objc

2014-01-25 Thread Gal Dolber
Hey, you cannot subclass from clojure at the moment. But I its not necessary.. Just create a UIView, add subviews, properties and listeners. And if you need a UIViewController to pass around, create one and set the view with setView: I have a small ui framework, but its not ready to open source. I

Re: ANN: clojure-objc

2014-01-25 Thread PublicFarley
I'm utterly shocked by the lack of posts and questions about this very cool variation of the Clojure compiler. Think people Develop iOS apps in Clojure! Awesome and fun. I suggest that the author and his team try to see if you can present at ClojureWest. Need to get the word out. Anyway, qu

ANN: clojure-objc

2014-01-23 Thread Gal Dolber
clojure-objc is a clojure compiler that generates java(instead of bytecode) and uses j2objc(https://code.google.com/p/j2objc/) to translate it to objc. Goals * Write iOS and MacOS apps in clojure * Future proof: new features on clojure should be easy to add * Distribute clojure-objc libs usin