WWDC Notes

Advances in Foundation

Show Apple's description.
The Foundation framework provides a base layer of functionality for apps and frameworks that's used throughout the macOS, iOS, watchOS, and tvOS SDKs. Hear about valuable enhancements to Foundation collections, performance, internationalization features, and Swift integration.

New:

  • A native diffing algorithm
  • A native way to compress Data (zlib and more)
  • New Units:
    • UnitDuration: Added milliseconds, microseconds, nanoseconds, and picoseconds
    • UnitFrequency: Added framesPerSecond
    • UnitInformationStorage: Bits, Bytes, and more
  • MeasurementFormatter and ByteCountFormatter to display the new UnitInformationStorage
  • RelativeDateTimeFormatter: “one hour ago”, “in two weeks” etc
  • New ListFormatter
  • GDC Improvement: barriers: in concurrent threads/environments we can now use a barrier, which makes sure that no other tasks can run while the barrier operation is ongoing.

Missing anything? Corrections? Contributions are welcome 😃

Related

Written by

zntfdr

Federico Zanetello

Federico Zanetello is an iOS Engineer with strong passion for Swift, minimalism, and design. When he’s not busy automating things, he can be found writing at fivestars.blog and/or playing with the latest shiny toys.