Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

My Wishes for Swift 3.0

  • Typed errors
  • Property observers from outside as a replacement for KVO
  • Resolving the limitation in failable class initializers which require setting all stored properties before throwing an error or returning nil
  • Operator for reversed ranges (https://medium.com/@icex33/boundary-extension-in-swift-1f577af1aaa)
  • Nested types in generic types
  • Packages (inside frameworks, allowing cyclic dependencies)
  • Members for protocols tied to the protocol type (e.g. for implementing factories on the protocol types)
  • Abstract classes & class methods
  • ACL for protocol members
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment