Re: "Tricks" of the "Trade"
Re: "Tricks" of the "Trade"
- Subject: Re: "Tricks" of the "Trade"
- From: Erik Thorteran <email@hidden>
- Date: Fri, 8 Jun 2001 09:40:18 -0700
they get to "know about" each other via their header ".h" files.
Objects that need
to communicate with each other usually include each others header
files, so they know
what method the other object can perform. This also lets the compiler
check your syntax
and catch typing errors early.
I know about that, however the problem is, when you don't have a single
nib anymore, then the whole thing starts to break up in my mind, because
the classes no longer know about each other through IB connections, how
do you get around that? Notifications seem like a rather ungainly
approach.
Erik