В работе

buidl an ios app

I need the sum of an array in my code. this gives an error..

func totalCart() {

productTotal = 0

for item in shoppingcard2 {

productTotal += item as NSString).floatValue

}

total = productTotal

}

Навыки: Swift

Показать больше: sports app ios, calimits app ios, wordpress app ios, port android app ios, quiz app ios, webview app ios, video recording app ios, convert app ios android, convert android app ios, creating complex app ios, update app ios, port app ios android, code reader app ios

О работодателе:
( 53 отзыв(-а, -ов) ) leuven, Belgium

ID проекта: #12140795

Поручено:

CleanCoder227

Hi,I'm very very interested in your job. I have many experience on programming. I have done many swift programs and make them on high level. I have enough experience for this job. I can complete your work in 1 day. Больше

€23 EUR за 1 день
(4 отзывов(-а) )
2.1

1 фрилансер подал заявку на эту работу; средняя заявка - €19

vlastimirsd

I can definitely solve this for you, but I would need to see what are the variables that you created and what kind of summary do you need. Is it just adding items in to that array, or prices for those items which would Больше

€19 EUR за 0 дней(-я)
(0 отзывов(-а))
0.0