                 nonNilLabel.backgroundColor = UIColor.red
                 nonNilLabel.text = "non nil"
                 overridingDetailTextLabel = nonNilLabel
+            } else {
+                IBLog.write("overridingDetailTextLabel = nibDetailTextLabel")
+                overridingDetailTextLabel?.text = nil
+                overridingDetailTextLabel = nibDetailTextLabel
             }
             IBLog.write("detailTextLabel set, done", indent: -1)
         }

            IBLog.write("imageView set", indent: 1)
            IBLog.write("newValue: \(newValue.shortDescription)")
            IBLog.write("isLoadingFromNib = \(isLoadingFromNib)")
            if !isLoadingFromNib {
                IBLog.write("overridingImageView = nibImageView")
                overridingImageView = nibImageView
                overridingImageView?.image = super.imageView?.image
                super.imageView?.image = nil
            } else {
                IBLog.write("nibImageView = newValue")
                nibImageView = newValue
            }
            IBLog.write("imageView set, done", indent: -1)
        }

            IBLog.write("detailTextLabel set", indent: 1)
            IBLog.write("newValue: \(newValue.shortDescription)")
            IBLog.write("isLoadingFromNib = \(isLoadingFromNib)")
            if isLoadingFromNib {
                IBLog.write("nibDetailTextLabel = newValue")
                nibDetailTextLabel = newValue
                // detailTextLabel must be not nil or else IBDesignable will stop with an error.
