I am currently working on a project build for OSX 10.5 and up. First of all, the 10.6 users do not see this; only 10.5 users have this issue.
I have a CGImageRef and I want to display it on an NSView. I already have an CGImageRef from source path but the following doesn\'t work:
I am developing a small app that display the active mounts in a menu in the NSStatusBar. So far it looks like this:
How can i get a notification if a NSView gets the key focus? I expected a method like \"windowDidBecomeKey\" from NSWindow but either i\'m blind or there开发者_如何学JAVA is nothing like this is NSVi
I used this guide: http://developer.apple.com/mac/library/qa/qa2004/qa1346.html to implement scaling in a special view.The scaled view is the document view of an NSScrollView.The problem is that when
I have a cocoa application that has a finder like feel it and is made up of five views.On the left there is a gallery which is a finder like interface to choose a given object.This view stretches acro
I\'m doing something with cocoa which I think is a bit complicate for a beginner like me. I tried a few things, but I admit I need some theory first, because I would like to understand exactly the mea
I have created a simple drag and drop application in which I am sometimes getting this exception msg, displayed in debugger console:
I have a superview and a subview. Both are custom. During the drawRect of the superview, I am trying to add 开发者_如何学编程the subview, create an image from the drawn view, and remove the subview.
I need to take the 开发者_高级运维contents of an NSView and put them in an NSImage, for an experimental project. Is this possible? I did some Googling, tried two methods that I found - but they didn\'