• 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
Changing content of object inside NSMutableArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing content of object inside NSMutableArray


  • Subject: Changing content of object inside NSMutableArray
  • From: Agha Khan <email@hidden>
  • Date: Thu, 02 Jul 2009 15:36:27 -0700

HI

I have saved some objects inside GameArray (type NSMutableArray) and I would like to change of content of an object inside that array.

GameObj is type of UIView so it has a frame.

GameObj* p = [GameArray objectAtIndex:0];
p.frame = frame;

This works, but this is not changing the content inside the GameArray.

How this can be done.

Any help will be very much appreciated.

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: Changing content of object inside NSMutableArray
      • From: Ken Thomases <email@hidden>
    • Re: Changing content of object inside NSMutableArray
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: probablem with NSView redisplay.
  • Next by Date: Re: documenting bindings (was: Re: Dynamically loading a part of a Window in Cocoa)
  • Previous by thread: probablem with NSView redisplay.
  • Next by thread: Re: Changing content of object inside NSMutableArray
  • Index(es):
    • Date
    • Thread