• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: No Fixed-length arrays in Swift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >No Fixed-length arrays in Swift (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: No Fixed-length arrays in Swift
  • Next by Date: C-Arrays in Swift
  • Previous by thread: No Fixed-length arrays in Swift
  • Next by thread: C-Arrays in Swift
  • Index(es):
    • Date
    • Thread