Xcode 7 beta 6 brings more changes to the standard libraryscape:
-
The free function slaughter continues. The newest release guts the remainder of the free functions, moving nearly everything possible into a protocol extension. Left alone,
abs()
whistles pointedly, refusing to make eye contact withSignedNumberType
orAbsoluteValuable
. Its days are numbered. -
The
Lazy*
group of types and protocols have been updated significantly, with clearer naming and official protocols forLazySequenceType
andLazyCollectionType
. -
MutableSlice
,MutableIndexable
, andReverseIndexType
all join the family to support new mutable collection slicing capabilities. Welcome, everyone! -
Many methods that take closures, like
map
,filter
, andcontains
, are now marked asrethrows
, so they can accept throwing closures and pass on any thrown errors.