GithubHelp home page GithubHelp logo

findersyncdemo's People

Contributors

bokkkrottt avatar booksroot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

findersyncdemo's Issues

extension如何开启调试模式?

您好,代码跑起来了,但是点击对应按钮没有反应,打断点也进不去,感觉还是没进入调试模式,debug导航显示'watting to attach',但是finder已经显示有扩展了,也没看到log日志输出。想请教一下这个FinderSync如何进行断点调试,望回复。谢谢。
image
image

image badge 木有生效

我运行你的demo image bage 并没有出现,还有一个问题,不知道你如何调试FileSyncExtension的代码的,我这边重启机器,才走断点,也是无语。多谢

Does not work?

I am having trouble getting the example to work. Could you help me? Sorry I don't speak Chinese.

output

如何实现item点击事件弹出创建文件的对话框呢?

像NewFileMenuFree 那样,右键菜单创建文件,弹出模态框创建文件。
我尝试过直接在item点击事件中写 NSSavePanel *panel = [NSSavePanel savePanel]; 但是提示crash了的。

2016-10-04 01:26:00.167437 MyFinderSync[67692:2453964] -[NSVBSavePanel init] caught non-fatal NSInternalInconsistencyException 'not running on AppKit (main) thread' with backtrace (
    0   CoreFoundation                      0x00007fffc7dcf52b __exceptionPreprocess + 171
    1   libobjc.A.dylib                     0x00007fffdc501cad objc_exception_throw + 48
    2   CoreFoundation                      0x00007fffc7dd4232 +[NSException raise:format:arguments:] + 98
    3   Foundation                          0x00007fffc986e81a -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 166
    4   ViewBridge                          0x00007fffdaf8d691 -[NSRemoteView _preSuperInit] + 28
    5   ViewBridge                          0x00007fffdaf8da97 -[NSRemoteView initWithFrame:] + 25
    6   AppKit                              0x00007fffc59b9d02 -[NSView init] + 62
    7   AppKit                              0x00007fffc5c1eb8d -[NSVBSavePanel init] + 159
    8   AppKit                              0x00007fffc5c1ead9 +[NSSavePanel newRemotePanel] + 190
    9   AppKit                              0x00007fffc5c1e815 +[NSSavePanel _crunchyRawUnbonedPanel] + 96
    10  My



    2016-10-04 01:29:50.355602 MyFinderSync[68046:2460016] warning: <NSRemoteView: 0x61000012adc0> determined it was necessary to configure <NSVBSavePanel: 0x7febaf6004f0> to support remote view vibrancy
2016-10-04 01:29:50.430521 MyFinderSync[68046:2460016] -[NSVBSavePanel init] caught non-fatal NSObjectNotAvailableException 'service com.apple.appkit.xpc.openAndSavePanelService failed to init an instance of NSSavePanelService on behalf of <NSRemoteView: 0x61000012adc0> due to {
    callStackSymbols = (
    0   CoreFoundation                      0x00007fffc7dcf52b __exceptionPreprocess + 171
    1   libobjc.A.dylib                     0x00007fffdc501cad objc_exception_throw + 48
    2   CoreFoundation                      0x00007fffc7e4da0d +[NSException raise:format:] + 205
    3   com.apple.appkit.xpc.openAndSavePanelService 0x0000000108a5275f com.apple.appkit.xpc.openAndSavePanelService + 5983
    4   AppKit                              0x00007fffc5a139c2 -[NSViewController _loadViewIfRequired] + 75
    5   AppKit                              0x00007fffc5a1392d -[NSViewController view] + 30
    6   ViewBridge                          0x00007fffdaf727e1 -[NSViewServiceMarshal _bootstrap:replyData:] + 3582
    7   ViewBridge                          0x00007fffdaf73989 -[NSViewServiceMarshal bootstrap:withReply:] + 131
    8   CoreFoundation               ' with backtrace

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.