Re: IB, exclamation points, and targets
Re: IB, exclamation points, and targets
- Subject: Re: IB, exclamation points, and targets
- From: Scott Herz <email@hidden>
- Date: Fri, 5 Oct 2001 13:08:45 -0700
Not at all. They're just there as a reminder.
Scott.
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).
-cb
________________________________________________________________________
Carl W. Bell <http://www.baylor.edu/~Carl_Bell/index.html>
Sr. Analyst/Programmer Baylor University Academic Technology Center
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev