• 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
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: Onar Vikingstad <email@hidden>
  • Date: Sat, 24 Aug 2002 22:15:22 +0200

I have a problem with this line of code:

NSArray *arrayOfUser = [[[NSMutableArray alloc] initWithCapacity:2] arrayWithObjects:[string componentsSeparatedByString:@":"], nil];

[string self] is in this example just dsad:FAFI.F6b3H1OU and when I run this line, I get:

2002-08-24 22:06:16.639 Apache Protect[1031] *** -[NSCFArray arrayWithObjects:]: selector not recognized
2002-08-24 22:06:16.654 Apache Protect[1031] *** -[NSCFArray arrayWithObjects:]: selector not recognized

What is wrong here? Why isn't the array created?



Kind regards,
newbie...

--
Onar Vikingstad - email@hidden
http://www.vikingstad.com
_______________________________________________
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: (no subject)
      • From: Kevin Callahan <email@hidden>
    • Re: (no subject)
      • From: Shawn Erickson <email@hidden>
    • Re: (no subject)
      • From: Andrew Pinski <email@hidden>
  • Prev by Date: Re: Dragging URL clippings into a Cocoa app
  • Next by Date: Re: (no subject)
  • Previous by thread: Re: (no subject)
  • Next by thread: Re: (no subject)
  • Index(es):
    • Date
    • Thread