brendanjcaffrey / core-data-in-motion Goto Github PK
View Code? Open in Web Editor NEWCore Data wrapper for Ruby Motion
Core Data wrapper for Ruby Motion
I'm building a simple app with RubyMotion. I modified the Rakefile and created the Gemfile as indicated.
I created a single class:
class Romanum < CDIM::Model
property :m, :string, :default => ""
property :d, :string, :default => ""
property :c, :string, :default => ""
property :l, :string, :default => ""
property :x, :string, :default => ""
property :v, :string, :default => ""
property :i, :string, :default => ""
property :roman, :string, :default => ""
property :arabic, :integer16, :default => 0
end
Here's what I see when I try to compile:
mbp:romancalc Sperberx$ rake
Build ./build/iPhoneSimulator-6.1-Development
Compile ./app/controllers/roman_num_controller.rb
Link ./build/iPhoneSimulator-6.1-Development/romancalc.app/romancalc
Create ./build/iPhoneSimulator-6.1-Development/romancalc.dSYM
Simulate ./build/iPhoneSimulator-6.1-Development/romancalc.app
2013-09-10 18:08:54.660 romancalc[25303:14003] uninitialized constant CDIM::Entity::MotionSupport (NameError)
2013-09-10 18:08:54.661 romancalc[25303:14003] *** Terminating app due to uncaught exception 'NameError', reason: 'uninitialized constant CDIM::Entity::MotionSupport (NameError)
'
*** First throw call stack:
(0x2167012 0x80fe7e 0x3ba14a 0x3ba1ff 0x2e89e1 0x2e5456 0x3755eb 0x3afc6f 0x396b93 0x37636a 0x3763a0 0x3b303a 0xd5c05 0xd6039 0xd5f8e 0xd5eac 0xd7fac 0x31c1 0x39ad 0x2d15)
libc++abi.dylib: terminate called throwing an exception
(main)> *** Simulator session ended with error: Error Domain=DTiPhoneSimulatorErrorDomain Code=1 "The simulated application quit." UserInfo=0x10050a920 {NSLocalizedDescription=The simulated application quit., DTiPhoneSimulatorUnderlyingErrorCodeKey=-1}
Thanks,
Roger Sperberg
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.