Before the line worked now gives errors, how to change it?
Closed due to the fact that off-topic participants cheops , aleksandr barakin , pavel , user194374, Alex 2 Dec '16 at 13:23 .
It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reasons:
- “Questions asking for help with debugging (“ why does this code not work? ”) Should include the desired behavior, a specific problem or error, and a minimum code for playing it right in the question . Questions without an explicit description of the problem are useless for other visitors. See How to create minimal, self-sufficient and reproducible example . " - pavel, Alex
- "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - cheops, aleksandr barakin, Community Spirit
- 3Please provide the code and error as text, not in the screenshot. - Kromster
|
1 answer
Remove the parentheses in the for clause.
for i in 0 ..< count { } - and such a line?
for(i: CGFloat in 0 ..< 3){- PRKan - 2Explain to me the meaning of this: i: CGFloat in 0 .. <3? Why specify i as a float if you have an int? Think yourself, can you go through a cycle 2.3 or 1.8 times? - Vitali Eller
|
