All Projects → twostraws → Whats New In Swift 5 1

twostraws / Whats New In Swift 5 1

An Xcode playground that demonstrates the new features introduced in Swift 5.1.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Whats New In Swift 5 1

Xgen
A Swift package for generating Xcode workspaces & playgrounds
Stars: ✭ 178 (+45.9%)
Mutual labels:  xcode, playground
Whats New In Swift 4
An Xcode playground showcasing the new features in Swift 4.0.
Stars: ✭ 1,860 (+1424.59%)
Mutual labels:  xcode, playground
Testdrive
Quickly try out any Swift pod or framework in a playground
Stars: ✭ 1,612 (+1221.31%)
Mutual labels:  xcode, playground
Mockswift
MockSwift is a Mock library written in Swift.
Stars: ✭ 56 (-54.1%)
Mutual labels:  xcode, playground
Whats New In Swift 5 0
An Xcode playground that demonstrates the new features introduced in Swift 5.0.
Stars: ✭ 703 (+476.23%)
Mutual labels:  xcode, playground
Playground
Instantly create Swift playgrounds from the command line
Stars: ✭ 391 (+220.49%)
Mutual labels:  xcode, playground
Swift Summary
A summary of Apple's Swift language written on Playgrounds
Stars: ✭ 1,668 (+1267.21%)
Mutual labels:  xcode, playground
Playalways
Create Xcode playgrounds from your menu bar
Stars: ✭ 515 (+322.13%)
Mutual labels:  xcode, playground
Imagecoordinatespace
UICoordinateSpace for UIImageView image
Stars: ✭ 42 (-65.57%)
Mutual labels:  xcode, playground
Dyci Main
Dynamic Code Injection Tool for Objective-C
Stars: ✭ 1,103 (+804.1%)
Mutual labels:  xcode, playground
Speculid
Easily Manage Graphics in Xcode Projects
Stars: ✭ 115 (-5.74%)
Mutual labels:  xcode
Linkmapparser
A tool for parsing iOS app link map file.
Stars: ✭ 117 (-4.1%)
Mutual labels:  xcode
Devicesupport
Stars: ✭ 120 (-1.64%)
Mutual labels:  xcode
Xib2storyboard
A tool to convert Xcode .xib to .storyboard files
Stars: ✭ 121 (-0.82%)
Mutual labels:  xcode
Xcodecleaner
Cleaner for Xcode.app built with react-native-macos
Stars: ✭ 1,505 (+1133.61%)
Mutual labels:  xcode
Ghwxcodeextension
Xcode Source Editor Extension 插件,实现功能有四个,一.初始化自定义view、UICollectionViewCell、UITableViewCell、viewController,自动删除无用代码和添加默认代码;二. 为属性自动添加懒加载代码、对应协议声明和协议方法,主要有 UITableView\UICollectionView\UIScrollView\UIButton\UILabel\UIImageView; 三.选中一个类,文件顶部自动添加对应的 import; 四. 给 import 分组排序,从上到下为 主类头文件、viewController、view、manager & logic、第三方库、model、category、其他。
Stars: ✭ 119 (-2.46%)
Mutual labels:  xcode
Finicky
A macOS app for customizing which browser to start
Stars: ✭ 2,026 (+1560.66%)
Mutual labels:  xcode
Perspectivetransform
Calculate CATransform3D between two Perspectives
Stars: ✭ 113 (-7.38%)
Mutual labels:  xcode
Articles Zh Hans
Articles for NSHipster.cn
Stars: ✭ 113 (-7.38%)
Mutual labels:  xcode
Uicircularprogressring
A circular progress bar for iOS written in Swift
Stars: ✭ 1,658 (+1259.02%)
Mutual labels:  xcode

What’s new in Swift 5.1?

This is an Xcode playground that demonstrates the new features introduced in Swift 5.1:

  • Improvements to synthesized memberwise initializers
  • Implicit returns from single-expression functions
  • Universal Self
  • Opaque return types
  • Static and class subscripts
  • Warnings for ambiguous none cases
  • Matching optional enums against non-optionals
  • Ordered collection diffing
  • Creating uninitialized arrays

This is designed to complement my existing article What’s New in Swift 5.1. You might also want to read What’s New in Swift 5.0 and What’s New in Swift 4.2. Alternatively, I have a whole website dedicated to tracking what's new in Swift – you should check it out at https://www.whatsnewinswift.com.

If you hit problems or have questions, you're welcome to tweet me @twostraws or email [email protected].

Note: Until a version of Xcode ships with Swift 5.1, you should download the latest Swift trunk development snapshot and activate it inside your current Xcode version.

Screenshot of Xcode 10.2 running this playground.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].