Re: [Cocoapsql-developer] Can't find method psqlTexViewDidBecomeFirstResponder and psqlTexViewDidRes
Status: Alpha
Brought to you by:
alkirkus
From: Al K. <al...@ki...> - 2002-05-31 11:28:08
|
Hi Olaf. I have modified the PSQLTextView.m to perform the message dispatching using selectors, if they exist, to the methods which you are trying to invoke. This way there are no compiler warnings and the object remains portable. I have commited the change. Let me know if you see any problems doing it this way. See ya, Al On Friday, May 31, 2002, at 02:47 AM, Olaf van Oudenallen wrote: > On compiling the PSQLTextView there are two "Can't find method" > warnings about the psqlTexViewDidBecomeFirstResponder and > psqlTexViewDidResignFirstResponder. > > To make the PSQLTextView class portable and reusable I did not #import > the PSQLController class. The messages are send to the view's delegate. > The methods will be found at runtime. If not, I thought that sending a > message to nil is not disturbing. On the other hand, the PSQLTextView > class will be reused only for the purpose of enjoying these messages > so these methods will be implemented when reusing the class. > > Am I right? Olaf > > On vrijdag, mei 31, 2002, at 04:46 , Al Kirkus wrote: > >> By the way olaf there are a few warning messages popping up during the >> compile, is there anything I need to do for these? > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Cocoapsql-developer mailing list > Coc...@li... > https://lists.sourceforge.net/lists/listinfo/cocoapsql-developer |