Swift: And Xcode 6.3 beta 2 did drop as the gentle rain

Some highlights.


Rich documentation markup (reStructuredText) is now supported. The Xcode release notes note that  markups may not always render properly (known 6.3 beta 2 issues). In the following screenshots, the marked up comment (created with a /// indicator) renders properly in 6.3

in 6.1:

Screen Shot 2015-02-23 at 1.28.59 PM

in 6.3:

Screen Shot 2015-02-23 at 1.29.10 PM

Results are now shown in-line instead of the timeline view. So you pop-up a visualization by clicking the eye in the results gutter or…

Screen Shot 2015-02-23 at 1.33.57 PM

or by clicking the value history dot:

Screen Shot 2015-02-23 at 1.35.37 PM

The three buttons at the top right indicate graph mode, current value, and “all values”, a history list of values.

What’s great about the inline stuff is that you can more or less close off your assistant editor. I’m still not sure why there’s no timer slider on this new version. Is it gone for good? Oh there it is! At the bottom of the playground pane!

Screen Shot 2015-02-23 at 1.47.06 PM


Beta 2 also introduces extended if let with leading boolean conditionals. You can now perform tests with a boolean phrase before adding a if-let conditional unwrapping:

Screen Shot 2015-02-23 at 1.50.06 PM



The new zip function takes two sequences to create tuples.

Screen Shot 2015-02-23 at 1.53.46 PM


  • RIP utf16Count, recently discussed. Instead “use count on the UTF16 view of the String”, e.g. count(string.utf16)
  • More intermittent SourceKitServices crashes have been addressed and “Several common issues affecting the “Convert to Latest Swift” tool have been fixed.”



  • Is it possible to get zipped value at particular index or is this Zip2 type is for enumeration only?

    • The type is Zip2, so what’s returned is a generator

  • […] Yes, in Swift 1.2 you can combine if-let clauses with multiple tests as I described in this post. Here’s an […]