nssavepanel
NSSavePanel, CGImageDestinationFinalize and OS X sandbox
I\'m using NSSavePanel to let user select image to save to in my app. Everything worked fine until I enabled app sandboxing and entitlements. The problem occurs with selection of an already existing f[详细]
2023-04-06 10:43 分类:问答NSSavePanel issues
I am semi-new to cocoa programming, however I have worked quite a bit in C++; I am having some issues with the NSSavePanel class. Whenever I use it (as shown below), I can see (by using breakpoints)[详细]
2023-03-30 17:05 分类:问答How can I hide the save panel when I'm using a NSDocument
So I\'m trying to play around with WebKit and create my own browser.However, now I\'m kind of stuck where I can\'t hide the save panel when I try to close my window.I can\'t find any method in the NS开[详细]
2023-03-29 18:53 分类:问答Determine which button pressed in Save Panel in NSDocument based application
How should I determine which button is pressed (save, C开发者_如何学运维ancel) when the save dialog is dismissed in an NSDocument based application ? The save panel is the default provided by NSDocume[详细]
2023-03-26 23:02 分类:问答Why is NSOpenPanel/NSSavePanel showing memory leak?
Not sure why,开发者_运维知识库 but making a simple [[NSOpenPanel openPanel] runModal]; creates a memory leak - seen in Leaks Instrument.[详细]
2023-03-26 13:46 分类:问答"Save As" in non-document based application Cocoa
I\'m working on a project that essentially creates files via a shell script using \"sox\". The application is not document-based, all its doing is calling a script that creates files, and doesn\'t int[详细]
2023-03-07 07:34 分类:问答Saving an NSView to a png file?
I am making a simple program that creates game cards for a game I play. I have sent it out to some friend开发者_运维知识库s of mine for testing, but they really want it to save images, not just print[详细]
2023-02-21 12:46 分类:问答Completion handler never called for NSSavePanel beginWithCompletionHandler
When I open an NSSavePanel or NSOpenPanel instance with beginWithCompletionHandler: the handler is never called. Instead I see the panel appear for a fraction of a second, before it goes away again wi[详细]
2023-02-20 00:12 分类:问答Insert HTML in NicEdit WYSIWYG
How can I insert text/code at the cursors place in a div created by NicEdit? I\'ve tried to read the documentation and create my own plugin, but I want it to work without the 开发者_开发知识库tool ba[详细]
2022-12-28 06:28 分类:问答