• 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: slicing in Swift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: slicing in Swift


  • Subject: Re: slicing in Swift
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Wed, 07 Sep 2016 09:16:09 +0700

> On 7 Sep 2016, at 07:55, Jonathan Hull <email@hidden> wrote:
>
> I realized my comment may not have been clear.

Probably clear enough.

> Here is the actual code (written in Mail):
>
> var numbers: [UInt64] = …
>
> func numbers( upTo nbr: Int ) -> [UInt64]
> {
> 	return Array( numbers[ 0 ..< nbr ] )
> }

Excellent. Exactly what I needed. Thanks a lot!.

Kind regards,

Gerriet.



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >slicing in Swift (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: slicing in Swift (From: Jonathan Hull <email@hidden>)
 >Re: slicing in Swift (From: Jonathan Hull <email@hidden>)

  • Prev by Date: Re: How to silently use Proxy authentication credentials from Keychain, like Safari, Mail, etc.
  • Next by Date: Re: Init in Swift
  • Previous by thread: Re: slicing in Swift
  • Next by thread: Re: slicing in Swift
  • Index(es):
    • Date
    • Thread