I'm running with MacRuby 0.5 and I have a method:
attr_accessor :bookmarkSheet, :mainWindow
def createBookmark(sender)
NSApp.beginSheet(bookmarkSheet,
modalForWindow:mainWindow,
modalDelegate:self,
didEndSelector:nil,
contextInfo:nil)
end
which is supposed to open up a sheet panel on the main window. However, whenever I run this method, I get
2009-10-10 12:27:45.270 Application[45467:a0f] nil is not a symbol
Any thoughts as to why I get this error? I can't seem to find anywhere that lists the reason I am getting this error. Thanks