RubyMotion allows developers to quickly build and test native iOS apps using the Ruby programming language instead of Objective-C. It uses the Ruby language, RSpec for testing, and integrates with Xcode and the iOS SDK to compile to native apps. Developers can create timers, pickers, buttons, and audio using RubyMotion and the iOS frameworks.
1 of 50
Downloaded 26 times
More Related Content
Ruby motion㏊ 20127
1. ܲѴdzپDzԤʹ
2012720
Ruby Business Commons
Eihiro Saishu
27. describe "Application 'MyFirst'" do
before do
@app = UIApplication.sharedApplication
end
ޤ
it "has one window" do
@app.windows.size.should == 1
end
end
36. describe "Timer Main Window" do
tests MyFirstViewController
it "has one pickerview" do
views(UIPickerView).size.should == 1
end
it "has Label" do
views(UILabel).size.should >= 1
view("Count Down Label").text.should == "Set the Time"
end
it "has one button" do
views(UIButton).size.should == 1
end
it "can be time up" do
tap("Start Button")
view("Count Down Label").text.should == "Time Up"
end
end