Code Monkey home page Code Monkey logo

hoop's Issues

Create Documentation

Kind of a feature/enhancement kind of issue:

Make a documentation for this somewhere, like GitBook.

example in readme doesn't work

the require line doesn't work as-is and once you eventually coax it into something that does work you get an app that just spits out

2018-06-09 20:11:53.365 crystal-run-app.tmp[15858:15753157] app launched

and nothing else. Judging by the code there's supposed to be a window and a button and the button should do something when clicked.

Doesn't run in Crystal 0.20.0

Error while trying to run an example (all examples fail):

$ crystal run example/ns_log_test.cr
Error in example/ns_log_test.cr:1: while requiring "./../src/hoop"

require "./../src/hoop"
^

in src/hoop.cr:2: while requiring "./foundation/*"

require "./foundation/*"
^

in src/foundation/calayer.cr:1: while requiring "./nsobject"

require "./nsobject"
^

in src/foundation/nsobject.cr:306: expanding macro

    objc_method "retain"
    ^

in macro 'objc_method' /Users/aemadrid/code/aem/crystal/hoop/src/foundation/nsobject.cr:185, line 2:

   1.
>  2.         objc_method_helper(self.to_objc, "retain", nil, nil, nil)
   3.
   4.

expanding macro
in src/foundation/nsobject.cr:40: can't execute OpAssign in a macro

      {{ "##{crystal_method ||= method_name}".id }}
             ^


aemadrid at cortazar in ~/code/aem/crystal/hoop (master●●)
$ crystal -v
Crystal 0.20.0 (2016-11-22)```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.