title: Draw image in tile pattern in Cocoa
body: <p>I would like to draw an NSImage in a NSView drawRect in a simple tile pattern in my Cocoa mac app. One method to do this is simply write a loop to draw this image multiple times using drawInRect:fromRect:operation:fraction:</p>
  
  <p>Is there a more direct method?</p>