[NSBitmapImageRep bitmapData] changing in 10.8

Discussion in 'Mac Programming' started by silvercircle, Jul 29, 2012.

  1. silvercircle
    Expand Collapse
    macrumors member

    Nov 18, 2010
    In 10.8 I have to get the bitmapData each time I want to write directly in the bitmap of an NSBitmapImageRep I created with my own space in -initWithBitmapDataPlanes.
    I compile against SDK 10.5.

    The result of -bitmapData is constant changing. This wasn't the case in 10.4 to 10.7.
    If write to the space I allocated and set in -initWithBitmapDataPlanes no result is displayed.

    What changed in 10.8 causing this?
  2. gnasher729
    Expand Collapse
    macrumors G5


    Nov 25, 2005
    HiDPI. The technology that makes Retina displays useful.

Share This Page