2

Id like to add an overlay to an NSTableView when it is loading some data. I found this post which mentions using CALayer with a CIGaussianBlur but I cannot get anything to work. Does anyone know of any good tutorials for displaying an overlay on an NSTableView? (Or even just an NSView).

Community
  • 1
  • 1
Kyle
  • 17,317
  • 32
  • 140
  • 246

1 Answers1

3

I've always found it easiest to do this by not futzing with the table view at all. Embed the table as a subview of another view (a container view, if you will). Add another subview to the container view that will be your overlay, just make sure it's in front of your table. Then you hide the overlay view when you don't need it, show it when you do.

MyztikJenz
  • 1,650
  • 14
  • 19