I have changed my Print menu item to send the -printWindow: message to First Responder and defined that method on two of my window controllers (my primary and a secondary window). On my primary window
What is the best way to convert PDF to 300 dpi (for example) tiff in Cocoa? I use PDFImageRep for creating NSImage but I c开发者_运维百科annot find the way to enlarge the resolution.The solution is t
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
So I have implemented salts and IVs, but the decryption is now a bit buggy. Of course, I need both the salt and IV for decryption as well, but the user can\'t enter that... I need to be able to store
I\'m using an NSTimer to update a label that shows the current time each minute. I fire the timer at a full minute date (e.g. 2:23:00 instead of 2:22:17). The problem is that NSTimer seems to work ina
The primary window in my app is borderless: [self.window setStyleMask:NSBorderlessWindowMask]; From that window, I also open other child windows. When I click around between those other child windo
I\'m trying to sort an NSMutableArray of YOEvento objects. YOEvento.h @interface YOEvento : NSObject { NSString *nombre; // stores the <name> tag
I\'ve got a custom NSButton that I\'m actually sticking in an NSStatusItem. When the NSButton is clicked, it launches my window. When the 开发者_如何学PythonNSButton is clicked again, the window shoul
I have a couple of questions about core data model migration. I have a pretty complex data model with a couple cases of entity inheritance. I was going to make some changes to the data model in a new
There are a couple of times I\'ve wanted to use the value from a XIB file prior to creating an instance of the class; the two that come to mind are: