Revision
641
Author
lsansonetti@apple.com
Date
2008-09-28 22:30:32 -0700 (Sun, 28 Sep 2008)

Log Message

reverting workaround

Modified Paths

Diff

Modified: MacRuby/trunk/lib/hotcocoa/delegate_builder.rb (640 => 641)


--- MacRuby/trunk/lib/hotcocoa/delegate_builder.rb	2008-09-29 05:22:09 UTC (rev 640)
+++ MacRuby/trunk/lib/hotcocoa/delegate_builder.rb	2008-09-29 05:30:32 UTC (rev 641)
@@ -43,9 +43,7 @@
       end
       
       def set_delegate
-        #puts "setting delegate (#{delegate}) on #{control.class} which has the following methods:"
-        #puts (delegate.methods.sort - Object.methods).collect {|method| "- #{method}"}
-        control.performSelector('setDelegate:', withObject:delegate)
+        control.setDelegate(delegate)
       end
       
       def block_instance_variable
@@ -78,4 +76,4 @@
     
   end
   
-end
\ No newline at end of file
+end