• 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
How can I get rid of this message?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How can I get rid of this message?


  • Subject: How can I get rid of this message?
  • From: Agha Khan <email@hidden>
  • Date: Wed, 01 Jul 2009 19:41:58 -0700

I am adding a object (somedata)
	for (int i = 0; i < 7; i++)
	{
		SomeData* singleNutData = [[SomeData alloc] init];
		[NutArray addObject: SomeData];
	}

I am getting warning.
NSArray may not respond to -addObject.
(Message without a matching method signature will be assumed to return id and accept '...' as arguments.)


Am I am doing something wrong?
I am new to Apple development and how can I get rid of this message.

Thanks in advance.
Best regards
-Agha
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How can I get rid of this message?
      • From: Roland King <email@hidden>
    • Re: How can I get rid of this message?
      • From: WT <email@hidden>
    • Re: How can I get rid of this message?
      • From: Nick Zitzmann <email@hidden>
    • Re: How can I get rid of this message?
      • From: Dave Keck <email@hidden>
  • Prev by Date: Re: Basic KVO question
  • Next by Date: Re: How can I get rid of this message?
  • Previous by thread: Table Selection Persists even though Window Closed
  • Next by thread: Re: How can I get rid of this message?
  • Index(es):
    • Date
    • Thread