objective-cosx-yosemiteimagekit

ScannerBrowser depreciated ImageKit OSX Yosemite


I found an example on the website of Apple developers about the library looking ImageKit in which scanners connected but there is a problem because when I connect my scanner is not detected, I ran the program and tells me there is a function NSBeginAlertSheet deprecated. Somebody help me solve problems.

The link is here.


Solution

  • NSBeginAlertSheet was deprecated in OS X 10.10 and it is recommended to use NSAlert instead. Source: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Miscellaneous/AppKit_Functions/index.html#//apple_ref/c/func/NSBeginAlertSheet

    That specific error is not related to ImageKit.