[MacRuby] #379: Nil symbol error.
#379: Nil symbol error. ---------------------------------------+------------------------------------ Reporter: hungerandthirst@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: nil, symbol error, selector ---------------------------------------+------------------------------------ When trying to use beginSheet method in this fashion: {{{ NSApp.beginSheet(@bookmarkSheet, modalForWindow:@mainWindow, modalDelegate:self, didEndSelector:"bookmark_created", contextInfo:nil) }}} when the containing method is run, I get an error: '''nil is not a symbol''' I have defined {{{ attr_accessor :bookmarkSheet, :mainWindow }}} and have linked them in IB. Workaround is to create a dummy selector/method for the didEndSelector: parameter. Will work fine then. -- Ticket URL: <http://www.macruby.org/trac/ticket/379> MacRuby <http://macruby.org/>
#379: Nil symbol error. ---------------------------------------+------------------------------------ Reporter: hungerandthirst@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: nil, symbol error, selector ---------------------------------------+------------------------------------ Comment(by mattaimonetti@…): Tanks for the bug report, we are going to look into it. For documentation sake, here is a link to the stackoverflow discussion: http://stackoverflow.com/questions/1548391/macruby-sheet-error -- Ticket URL: <http://www.macruby.org/trac/ticket/379#comment:1> MacRuby <http://macruby.org/>
#379: Nil symbol error. -----------------------------------------+---------------------------------- Reporter: hungerandthirst@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: minor | Milestone: MacRuby 0.5 Component: MacRuby | Resolution: fixed Keywords: nil, symbol error, selector | -----------------------------------------+---------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed Comment: Should be fixed in r2780. -- Ticket URL: <http://www.macruby.org/trac/ticket/379#comment:2> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby