IB, exclamation points, and targets
IB, exclamation points, and targets
- Subject: IB, exclamation points, and targets
- From: "Bell, Carl" <email@hidden>
- Date: Fri, 5 Oct 2001 14:52:33 -0500
- Thread-topic: IB, exclamation points, and targets
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).
-cb
________________________________________________________________________
Carl W. Bell <
http://www.baylor.edu/~Carl_Bell/index.html>
Sr. Analyst/Programmer Baylor University Academic Technology Center