Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add motion-cocoapods dependency

  • Loading branch information...
commit 2f71f3a98f1592f23bd33e845ab0815800e0c16f 1 parent 6e54506
@siuying authored
Showing with 5 additions and 0 deletions.
  1. +4 −0 app/app_delegate.rb
  2. +1 −0  lib/wakizashi.rb
View
4 app/app_delegate.rb
@@ -1,5 +1,9 @@
class AppDelegate
def application(application, didFinishLaunchingWithOptions:launchOptions)
+ # TODO add a real test app
+ doc = Wakizashi::XML("<li>HiHi</li>")
+ puts "name: " + doc.xpath("li").first.to_s
+
true
end
end
View
1  lib/wakizashi.rb
@@ -1,4 +1,5 @@
require "wakizashi/version"
+require 'motion-cocoapods'
unless defined?(Motion::Project::Config)
raise "This file must be required within a RubyMotion project Rakefile."
Please sign in to comment.
Something went wrong with that request. Please try again.