<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -624,24 +624,12 @@ end
 #foundation
 
 module OSX
-  ns_import :NSObject
-  ns_import :NSArray
-  ns_import :NSMutableArray
-  ns_import :NSAutoreleasePool
-  ns_import :NSBundle
-  ns_import :NSCalendar
-  ns_import :NSDateComponents
-  ns_import :NSCalendarDate
-  ns_import :NSDate
-  ns_import :NSString
-
-  ns_import :UIApplication
-  ns_import :UIWindow
-  ns_import :UIScreen
-  ns_import :UIColor
-  ns_import :UILabel
-  ns_import :UIFont
-  
-  ns_import :UIAlertView
+  def self.const_missing(c)
+    begin
+      OSX::ns_import(c)
+    rescue
+      raise NameError, &quot;uninitialized constant #{c}&quot;
+    end
+  end
 end
 </diff>
      <filename>rubycocoa/src/framework/src/ruby/rubycocoa.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ea1da8b226295c53301bbfa26cdeb72e3e3be557</id>
    </parent>
  </parents>
  <author>
    <name>takuma104</name>
    <email>takuma104@gmail.com</email>
  </author>
  <url>http://github.com/takuma104/iphone-rubycocoa/commit/e598d700c77a0340b287381d8abb47df7137627d</url>
  <id>e598d700c77a0340b287381d8abb47df7137627d</id>
  <committed-date>2009-03-07T00:45:18-08:00</committed-date>
  <authored-date>2009-03-07T00:45:18-08:00</authored-date>
  <message>load lazily ObjC class by const_missing</message>
  <tree>eedaa492eedaf200f4a80fed05c58a2f5681b587</tree>
  <committer>
    <name>takuma104</name>
    <email>takuma104@gmail.com</email>
  </committer>
</commit>
