Hi,

I have an about window with a label for the app name on it. That label was connected to an outlet named "appNamelabel" on its window controller. There are a couple of other labels on the same window, connected to other outlets.

The labels are all inside an NSVisualEffectsView which is in "behind window" mode with dark appearance. So all labels are white-ish. Almost. The app name label is black instead of white (despite being set up identically to the other labels on the window).

I spent the last couple of hours trying to make sense of it. Then I renamed the outlet to "nameLabel", bingo! For some inexplicable reason NSWindowController (or whatever) sets the label color based on the outlet name. Aaahhhrrrgggggg.

This is on Yosemite, Xcode 6.1.1. Purely informational in case someone else encounters this.

Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to