Refuses First Responder not working...

This isn’t a problem so much as a bit of visual house cleaning.

I have a HUD-style panel with a static text field (i.e., a label) and a date picker with stepper. When the application launches the month in the date picker is highlighted even though I selected the date picker’s refuses first responder check box in IB.

I have the date picker bound to shared user defaults, Controller Key: values; Model Key Path: theTargetDate. “theTargetDate” is a property in the application that has been connected to the date picker.

I’d like to have nothing highlighted but I’ve been unable to figure out how to make that happen.

Thanks in advance,
Brad Bumgarner

Click on the main Window in IB, go to the inspector, select connections and drag initialFirstResponder to the contentView of the window. This when upon launching the app, will niether focus on the date picker nor the label. I have almost the same setup using a textField with a placeholder text. I am not sure why refusesFirstResponder is not working for you. In my app it works fine.

t.

Thanks for that. I was looking for “firstResponder” or “makeFirstResponder” or something of that nature. I wouldn’t have thought of “initialFirstResponder.”

Thanks,
Brad Bumgarner