bokkkrottt / findersyncdemo Goto Github PK
View Code? Open in Web Editor NEWFinder Sync Demo for Mac OS X
License: MIT License
Finder Sync Demo for Mac OS X
License: MIT License
我运行你的demo image bage 并没有出现,还有一个问题,不知道你如何调试FileSyncExtension的代码的,我这边重启机器,才走断点,也是无语。多谢
Hi
Both running separately. How to establish communication between extension and main targets. we want to read finder notifications.
像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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.