Re: No Fixed-length arrays in Swift
Re: No Fixed-length arrays in Swift
- Subject: Re: No Fixed-length arrays in Swift
- From: Roland King <email@hidden>
- Date: Wed, 02 Jul 2014 21:45:52 +0800
Not supported - no idea if they ever will be. You can create an array of fixed length with let and the (count:, repeatedValue:) syntax which you can change the values of and not the length. Then again some people think that's a bug.
That's my last Swift answer of the day.
On 2 Jul, 2014, at 9:41 pm, Gerriet M. Denkmann <email@hidden> wrote:
> Trying to rewrite into Swift, there is the next problem:
>
> var maskArray : UInt32[32] // Error: Fixed-length arrays are not yet supported
>
> Is there any work-around ? Or do I have to wait for the next big release?
>
> Gerriet.
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden