Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

SUPERSEDED BY motion.h – Exposes Objective-C runtime in RubyMotion

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 motion-objc-runtime.gemspec
README.md

Superseded by motion.h

This gem has been replaced by motion.h, which can be used to expose any iOS system library, not just the Objective-C runtime.

motion-objc-runtime

motion-objc-runtime exposes the Objective-C runtime API. This allows RubyMotion to access building blocks necessary to perform advanced metaprogramming capabilities in RubyMotion.

The Objective-C runtime is exposed the same way RubyMotion exposes C functions from UIKit and other iOS frameworks, via BrideSupport files created by the gen_bridge_metadata command.

Installation

Add this line to your RubyMotion app's Rakefile:

require 'motion-objc-runtime'

Usage

See Apple's Objective-C Runtime Reference

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.