title: How to change the mouse cursor in Objective-C
body: <p>I am making an image editing application, but it looks very incomplete without a cursor like they have in Photoshop for the paintbrush. How can I set the icon, and have it change back when I exit the application?</p>
  
  <p>This is the code in my header file (just in case it's needed):</p>
  
  <pre><code>@interface test : NSWindow &lt;NSWindowDelegate&gt; {
      IBOutlet id myView;
  
  }
  
  @end
  </code></pre>
  
  <p>myView is an <code>NSView</code> (customView) that will display everything.</p>