• 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: Type?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Type?


  • Subject: Re: Type?
  • From: Carlos Weber <email@hidden>
  • Date: Thu, 8 Nov 2001 10:00:14 -1000

On Thursday, November 8, 2001, at 07:51 , email@hidden wrote:

I created "someClass"; it's subclassed from NSObject. And all the #import stuff is in place. I remember now that a missing #import WAS the problem last time I got these errors. What really gets me is that the code that is clogging up is a copy of some other code in the same project that works.
I have two data entry windows with related nibs and NSMutableArray(s), one that stores two text fields and one that stores only one text field. I coded the store-two-fields part first, which used a "firstClass: NSObject" class as part of the code; then I merely copied everything over to the new keep-track-of-only-one text field, changed the names using find-and-replace, and deleted the code relating to the second text field that was not needed. Indeed, I have gone over all of the .m & .h files that are relative to the project and can find nothing wrong--not a missing : or ; or anything else.

The chances are that you have introduced some syntactical error in the process of deleting a section and/or find-and-replacing the names. If you are staring at it for the 50th time and can't see it, you can try posting it here -- usually this kind of error is more obvious to someone else who's looking at the code for the first time.


References: 
 >Re: Type? (From: email@hidden)

  • Prev by Date: Re: [Newbie] Basic file handling questions...
  • Next by Date: NSSavePanel weirdness
  • Previous by thread: Re: Type?
  • Next by thread: Re: Type?
  • Index(es):
    • Date
    • Thread