Xcode 9 Swift 4 Memory Game 小程序开发
Posted 北美Orlando程序员生活学习日志
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Xcode 9 Swift 4 Memory Game 小程序开发相关的知识,希望对你有一定的参考价值。
Game Demo Video: https://vimeo.com/238116962
Source Code: https://github.com/bobbyliu117/MemoryGame
What's Covered
1) Size Classes: custom layout across different devices
2) Core Animation & UIView Animation: card flip, pulse fading, shaking, etc.
3) 3 Ways to delay an event without idling the main thread
4) O(n log n) shuffle algorithm: Fisher-Yates Shuffle, a.k.a. Knuth Shuffle
To Be Added Next:
1) Core Data: Persistent Store to keep ranking record
2) Firebase Firestore: store user info
以上是关于Xcode 9 Swift 4 Memory Game 小程序开发的主要内容,如果未能解决你的问题,请参考以下文章
无法在 Alamofire 中禁用缓存(Xcode 9 - swift 4)
Xcode 9:使用 Swift 3.1 编译的模块无法在 Swift 4.0 中导入
Xcode 9 Swift 4 Playgrounds UIGestureRecognizer 不工作