[MacRuby-devel] [MacRuby] #655: NSInteger received as nil from QuickLook API

MacRuby ruby-noreply at macosforge.org
Wed Apr 21 11:11:33 PDT 2010


#655: NSInteger received as nil from QuickLook API
-----------------------------------+----------------------------------------
 Reporter:  jakub.suder@…          |        Owner:  lsansonetti@…        
     Type:  defect                 |       Status:  reopened             
 Priority:  minor                  |    Milestone:                       
Component:  MacRuby                |   Resolution:                       
 Keywords:                         |  
-----------------------------------+----------------------------------------

Comment(by martinlagardette@…):

 Yep that's right. I did check and in fact, protocols are not yet
 supported.

 Otherwise, I don't know where you loaded the bridge support file, but a
 good place to do it could be:
 {{{
 #!ruby
 # Loading the Cocoa framework. If you need to load more frameworks, you
 can
 # do that here too.
 framework 'Cocoa'
 load_bridge_support_file
 NSBundle.mainBundle.pathForResource("QLPreviewPanel",
 ofType:"bridgesupport")
 }}}
 (this assumes you placed the `.bridgesupport` file in the `Resources`
 directory)

 Other than that, after investigation, you can safely ignore the warnings,
 they will not affect your application and should disappear one day :-).

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



More information about the MacRuby-devel mailing list