Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

monta

macrumors newbie
Original poster
Sep 29, 2011
1
0
As everyone suspected you are using the same item over and over. At the second point where it says "// make a new item" you have not made a new item at all. tempItem is still pointing at the item you created with alloc/init. You need to alloc/init each and every new item.

hi ,

how are u?

please, do u have any idea for same example to shopping cart sur iphone ?
 
1) Do not add totally un-related questions to existing threads. It's rude and disrupts the flow of the forums

2) I see nothing in my post that you replied to that indicates I know anything about shopping carts

3) I do not give code away. "Sample code" may as well mean "code I can steal and use myself without bothering to learn anything"
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.