Skip to content

isabella232/mruby-cocoa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mruby-cocoa

Interface to Cocoa on mruby. it's based on Objective-C Runtime and mruby-cfunc.

Build status

Build Status

First step

make test

Current status

  • define class

  • define instance method

  • define class method

  • access to instance variables

  • declare instance variables

  • define protocol

  • define protocol - parent protocols

  • define protocol - instance method

  • define protocol - class method

  • adopt protocol

  • handle exception

  • research NSCopying

  • pending -- declare/use property

Limitations

Don't support property access

mruby-cocoa don't support @property access.

Objective-C Runtime has propert access. Objective-C Runtime can't access properties that's defined in Category Class.

I found similar problem in stackoverflow.

I can make Class properties list by static analytics using clang. It's same way with BridgeSupport. Can somebody help me?

Todo

  • test! test! test!
  • rewrite memory management
  • examples
  • documents

Contributing

Feel free to open tickets or send pull requests with improvements. Thanks in advance for your help!

Authors

Original Authors "MobiRuby developers" are https://github.com/mobiruby/mobiruby-ios/tree/master/AUTHORS

License

See Copyright Notice in cocoa.h.

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 50.8%
  • C 25.6%
  • Ruby 23.2%
  • C++ 0.4%