• 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
Re: Changing Pointers Dynamically and Build Warnings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing Pointers Dynamically and Build Warnings


  • Subject: Re: Changing Pointers Dynamically and Build Warnings
  • From: Simone Manganelli <email@hidden>
  • Date: Sun, 26 Jan 2003 03:41:38 -0800

On Sunday, January 26, 2003, at 02:42 AM, j o a r wrote:


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?

Of course (it's in a different section), but that still doesn't solve the problem, because the pointer for the dataSource still hasn't had it's endpoint changed.


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;

I have actually been doing that for some of the outlets, and it doesn't help.

-- Simone Manganelli
_______________________________________________
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.

  • Follow-Ups:
    • Re: Changing Pointers Dynamically and Build Warnings
      • From: j o a r <email@hidden>
References: 
 >Re: Changing Pointers Dynamically and Build Warnings (From: j o a r <email@hidden>)

  • Prev by Date: Re: Localizable.strings German Problem
  • Next by Date: Re: Changing Pointers Dynamically and Build Warnings
  • Previous by thread: Re: Changing Pointers Dynamically and Build Warnings
  • Next by thread: Re: Changing Pointers Dynamically and Build Warnings
  • Index(es):
    • Date
    • Thread