joels
joels

Reputation: 7711

How to set NSTableView background color to clear in xcode

I don't see a clear option when setting the background color for a tableview in Xcode. Can I only do this in code?

I don't seem to have a "clear color" option

enter image description here

enter image description here

Upvotes: 3

Views: 2162

Answers (3)

Supertecnoboff
Supertecnoboff

Reputation: 6606

In interface builder select the scroll view (which contains your table view) and then uncheck Draw Background.

enter image description here

Upvotes: 1

user1751240
user1751240

Reputation:

Set the background color of the table view to be RGB of Hex #000000 with Opacity being 0.

enter image description here

Upvotes: 3

17yrsDev
17yrsDev

Reputation: 215

There is the option to put a clear background in interface builder.

  1. Select the table view itself.
  2. Select the Attributes Inspector.
  3. Scroll down to "view".
  4. Select "Clear Color" in the Background choices.

Upvotes: -3

Related Questions