Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

22107245: Xcode 7 beta 4 (7A165t) Interface Builder ignores background color set on UITableView #10

Open
openradar-mirror opened this issue Aug 3, 2015 · 0 comments

Comments

@openradar-mirror
Copy link

Description

Summary:
Table views instantiated from XIB files and Storyboards compiled using Interface Builder in Xcode 7 beta 4 (7A165t) have white (default) background at runtime, regardless of background color set for them in Interface Builder. This issue happens when running any iOS version on device/simulator.

Steps to Reproduce:

  1. Create an empty app with a view controller that manages a view with a table view, using a XIB file or Storyboard to construct the interface.
  2. Set table view color to red in Interface Builder, without changing anything in code.
  3. Run the app.

Expected Results:
Table view has a red background (apart from the area covered by cells).

Actual Results:
Table view has a white (default) background color.

Version:
Xcode 7 beta 4 (7A165t) running OS X 10.10.4 (14E46)

Notes:
This is a regression from previous Xcode versions. I have no information regarding whether it appeared in Xcode 7 beta 4 or in earlier seeds. A workaround for this issue is to set the background color manually in code, but that's kinda missing the point of Interface Builder.
The attached project demonstrates the issue.

Configuration:
Any device or simulator.

Attachments:
'TableBackgroundColorDemo.zip' was successfully uploaded.

Product Version: Xcode 7 beta 4 (7A165t) running OS X 10.10.4 (14E46)
Created: 2015-08-02 09:57:59.807740
Originated: 2015-08-02T00:00:00
Open Radar Link: http://www.openradar.me/22107245

@openradar-mirror openradar-mirror added this to the Developer Tools milestone Aug 3, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant