On 01/08/2010, at 9:28 PM, Nick Rogers wrote: > Please take a look at the attached image. > > Please suggest what I am doing wrong or need to do.
This is a really terrible way to make a hex viewer. Consider using NSTextView or just use a custom view (I think I've seen a 3rd party open source hex editor view "out there" somewhere also). That said it should work (with very poor performance). You say this is a NSMatrix subclass. Are you drawing a gradient background? If so, a typical error is to fill the <rect> passed to -drawRect: with the gradient instead of filling the view's bounds. The <rect> parameter is the area needing update, not the whole view. --Graham _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
