[MacRuby-devel] [MacRuby] #484: scoping issues with notification center

MacRuby ruby-noreply at macosforge.org
Sat Dec 5 00:48:57 PST 2009


#484: scoping issues with notification center
-------------------------------------+--------------------------------------
 Reporter:  mattaimonetti@…          |        Owner:  lsansonetti@…        
     Type:  defect                   |       Status:  closed               
 Priority:  blocker                  |    Milestone:                       
Component:  MacRuby                  |   Resolution:  invalid              
 Keywords:                           |  
-------------------------------------+--------------------------------------

Comment(by mattaimonetti@…):

 ok... while I understand (and wish the doc would mention that), this is
 really annoying. In real life, here is what I was doing:
 looping through a list of items and create a pipe and add a notification
 for it.

 I guess in obj-c I would use retain on the object, but I believe I can't
 in MacRuby. What options do I currently without having to do some weird
 ruby stuff like creating an array outside the loop and add items to it :(

 - Matt

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/484#comment:2>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list