Re: IB, exclamation points, and targets
Re: IB, exclamation points, and targets
- Subject: Re: IB, exclamation points, and targets
- From: Vince DeMarco <email@hidden>
- Date: Fri, 5 Oct 2001 13:23:00 -0700
On Friday, October 5, 2001, at 12:52 pm, Bell, Carl wrote:
Howdy,
After installing the latest dev tools, I noticed that in IB several
of my windows' instance view icons have small exclamation points on
them. (This is mentioned in the release notes.) Turns out, the reason
they are there is because I have some controls which do not have targets
associated with them. They are mostly checkboxes and text fields that
specify search criteria when the user clicks a "Find" button.
So, is it considered poor Cocoa programming practice to have controls
with nil targets? Or should I create a "do nothing" action and use
that? One thing I don't want to do is create instance variables for
every possible setting and then create individual methods that update
these variables when the user updates the control (code-clutter).
Also if you hold the mouse over top the object in question in the document
window, you will get a tool tip telling you why there is a exclamation
point there. (Switch to the outline view in the document window).
Also there is a bug which will be fixed in the next release were IB says
that a list of outlets are not connected, but in fact they are. IE if your
custom object has 3 outlets: outlet1, outlet2, and outlet3 and both
outlet1 and outlet3 are connected the tool tip should show that outlet2 is
not connected, but it instead says that outlet1 and outlet3 are not
connected.
vince