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

MacRuby ruby-noreply at macosforge.org
Sun Apr 18 18:48:17 PDT 2010


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

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 It looks like the "QLPreviewPanel" class you are using is not a public
 Apple API, therefore this delegate/datasource method hasn't been annotated
 in a BridgeSupport file and it's not behaving as expected in MacRuby.

 We highly recommend you to not use private APIs (called SPIs), firstly
 because non-introspectable features will not work in MacRuby or other
 Objective-C-based languages (because of missing BridgeSupport
 annotations), and secondly because these APIs are subject to change
 without any notice in further OS releases.

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



More information about the MacRuby-devel mailing list