• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
IB, exclamation points, and targets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: IB, exclamation points, and targets
      • From: "Erik M. Buck" <email@hidden>
  • Prev by Date: Re: cocoa-dev digest, Vol 1 #660 - 14 msgs
  • Next by Date: Re: IB, exclamation points, and targets
  • Previous by thread: Re: cocoa-dev digest, Vol 1 #660 - 14 msgs
  • Next by thread: Re: IB, exclamation points, and targets
  • Index(es):
    • Date
    • Thread