Skip to main content
Code sample in Swift, C# and Java
Main menu
About
History
Swift
C#
Java
Python
You are here
Home
»
Forums
»
Swift
»
Swift: Arrays and collections
»
Swift: Arrays
Dynamic arrays in Swift
Submitted by
obraztsov
on Tue, 09/27/2016 - 09:17
Forums:
Swift: Arrays
let
count =
15
;
var
arInt = [
Int
](count: count, repeatedValue:
0
);
arInt[
0
] =
1
;
Log in
to post comments