Pre-defined methods - documentation?
Pre-defined methods - documentation?
- Subject: Pre-defined methods - documentation?
- From: Tim Hewett <email@hidden>
- Date: Sat, 8 May 2004 20:53:09 +0100
Hi,
I've found by chance that the variables that Interface Builder connects
to on-screen controls have default "hidden" accessor methods created
for them automatically. For example my app has a text box known to
the code as "statusString". Creating a method called "setStatusString:"
so that a class outside the controller could set the contents of this
text
box stopped all text from appearing in this box, even though the body
of this method simply called [statusString setStringValue:value]; and
returned. Renaming this method to "setStatusStringValue" solved the
problem, so clearly it was overriding something. Is there any
documentation
covering this hidden talent, so far I've found none and it has wasted me
both days and hair...!
Regards,
Tim Hewett, Coolatoola.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.