• 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
more 'new to cocoa' problems... typo fix!!!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

more 'new to cocoa' problems... typo fix!!!


  • Subject: more 'new to cocoa' problems... typo fix!!!
  • From: Ruben Westerberg <email@hidden>
  • Date: Thu, 11 Oct 2001 21:28:04 +1000

I fixed the typo from my last email... :) don't know what happened there....
The actual code doesn't have a typo in it.

Hi all,

Thanks for help with my last time posted, it helped a lot!



The next problem that i can't get my head around is as follows(probably some silly thing):

I have three objects all of different types.
Objects 2 and 3 are accessing object 1 through the same method,

-(SNPComponent *)currentComponent;

When I compile I get no errors but 2 warnings:

warning: cannot find method.
warning: return type for 'currentComponent' defaults to id

If I comment out the call in object 2, leaving the same code un-commented in object 3, this warning goes away.

Both object 2 and 3 have references to the same instance of object 1 and the calls are made within the respective designated initializers.

Is this some special access problem.....or ???? As I said I am very new to objective c.
I would greatly appreciate any advice.

Thanks

Ruben


  • Prev by Date: Converting a PICT file to PDF
  • Next by Date: Re: half-initialized objects during decoding (Re: Persistance)
  • Previous by thread: Re: Converting a PICT file to PDF
  • Next by thread: Font Smoothing
  • Index(es):
    • Date
    • Thread