• 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
+[NSString length] selector not recognized
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

+[NSString length] selector not recognized


  • Subject: +[NSString length] selector not recognized
  • From: Jon Raphaelson <email@hidden>
  • Date: Sat, 10 Jul 2004 01:22:46 -0600

I am having a problem and was wondering if anyone could give me a hand. I searched through the archives, and realize that at least once this has come up before, but there was no resolution.
What I have is an NSString * that is calling rangeOfString: like this

found = [string rangeOfString: matchString_];

However, right at that point, an exception is thrown, complaining that +[NSString length] isn't recognized. I know that length isn't there as a class method, but I cannot figure out how to get the stupid exception to go away. So I figure, someone out there must have had the same issue and figured out how to get around it.

Any help is greatly appreciated.

Jonathan Raphaelson
email@hidden
_______________________________________________
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: +[NSString length] selector not recognized
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: Compositing Tricks?
  • Next by Date: Re: +[NSString length] selector not recognized
  • Previous by thread: Re: [resend] Questions About Frameworks
  • Next by thread: Re: +[NSString length] selector not recognized
  • Index(es):
    • Date
    • Thread