Re: Changing Pointers Dynamically and Build Warnings
Re: Changing Pointers Dynamically and Build Warnings
- Subject: Re: Changing Pointers Dynamically and Build Warnings
- From: j o a r <email@hidden>
- Date: Sun, 26 Jan 2003 11:42:28 +0100
On Sunday, Jan 26, 2003, at 11:27 Europe/Stockholm, Simone Manganelli
wrote:
If it's clear what I'm trying to do, can anybody help me find a way to
do this?
Do you call [tableView reloadData] after changing the data source?
2) Often in my code I'm trying to communicate between classes, and I
instantiate the class via Interface Builder and connect them via
outlets. Then I can just call routines from the other classes by
using the outlet. However, Project Builder issues warnings that the
class does not respond to the subroutines that I want to call -- when
I actually run the program, it works as I think it should, and so the
warning does not apply. I would like to get rid of the warnings
anyway, though... how would I do that?
You should / could use typed outlets to avoid this problem. For
example, instead of:
id myObject;
use:
IBOutlet MyCustomClass *myObject;
j o a r
_______________________________________________
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.