Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Draw This
($0.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-15-2009, 09:21 PM   #1 (permalink)
starwarsdevwookie59
Registered Member
 
Join Date: Mar 2009
Posts: 157
starwarsdevwookie59 is on a distinguished road
Default Sum of Objects in an Array

How do you get the total sum of the contents of an array? I have an array filled with integers and here is my code. Instead of objectAtIndex I need something like SumofObjects:1,2,3,4,5; is this possible? Any help would be great thanks!

NSString *title = [delegate.titlearray objectAtIndex:0];
cell.Label.text = title;
starwarsdevwookie59 is offline   Reply With Quote
 

» Advertisements
» Online Users: 543
14 members and 529 guests
blanix, BravadoWaffle, djohnson, Domele, iphonerapp, ITCreative, JuanMazuera, Kryckter, linkmx, mafew, mariano_donati, rosalvadx91, scubadivingfool, skiril
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 174,548
Threads: 93,727
Posts: 401,265
Top Poster: BrianSlick (7,954)
Welcome to our newest member, rosalvadx91
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:04 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.