上QQ阅读APP看书,第一时间看更新
Are there any downsides to Swift?
Swift is a very enjoyable language, but we should consider these two issues when starting a new project.
Less resources
Given Swift's age, it is certainly more difficult to find answers to common questions through Internet searches. Objective-C has many years' worth of discussion and answers on helpful forums like Stack Overflow. This issue improves every day as the Swift community continues to develop.
Operating system compatibility
Swift projects will run on iOS7 and higher, and OSX 10.9 and higher. Swift is the wrong choice if, in a rare case, you need to target a device running an older operating system.