• 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: Error: mutating method sent to immutable object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Error: mutating method sent to immutable object


  • Subject: RE: Error: mutating method sent to immutable object
  • From: Priscila J.V. <email@hidden>
  • Date: Sat, 4 Apr 2009 18:50:25 +0000
  • Importance: Normal

Change:
			[arregloNumeros release];
		}
to:
			[arregloNumeros removeAllObjects];
		}
		[arregloNumeros release];

regards
Simon

Hello Simon,
thanks for your advice but now the message in the log window is:
*** -[NSCFArray objectAtIndex:]: index (1) beyond bounds (1)

Can you please suggest me something to fix it?
Cheers
Priscila
_________________________________________________________________
Téléphonez gratuitement à tous vos proches avec Windows Live Messenger  !  Téléchargez-le maintenant !
http://www.windowslive.fr/messenger/1.asp_______________________________________________

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: Error: mutating method sent to immutable object
      • From: Graham Cox <email@hidden>
References: 
 >Re: Error: mutating method sent to immutable object (From: Simon Robbie <email@hidden>)

  • Prev by Date: Re: Toll-free bridge type at runtime
  • Next by Date: Re: Need localization-proof method of transporting dates.
  • Previous by thread: Re: Error: mutating method sent to immutable object
  • Next by thread: Re: Error: mutating method sent to immutable object
  • Index(es):
    • Date
    • Thread