Swift and Objective-C
Share:
These questions were only shown to the developers who chose Swift or Objective-C as one of their three primary programming languages.
Share:
Unsurprisingly, iOS still looms large, but Apple’s push toward universal frameworks and unifying the tech stack seems to be slowly driving interest in other Apple platforms.
It will be interesting to see if Swift can finally leap beyond the Apple ecosystem in the coming years – it took a sizable step this year.
Krzysztof Zabłocki
Consultant and author of widely recognized community tools
Mac Catalyst works quite well in my experience. However, given the popularity of SwiftUI, I can see more apps going the direct native way, especially when we consider business and productivity applications where the UX and conveniences of native Mac (shortcuts, multi-window) are just better executed in fully native targets.
Jon Reid
Coach and trainer at Industrial Logic, author of iOS Unit Testing by Example
The percentage of developers writing unit tests in the Apple ecosystem is up from last year, but it still falls way short of other ecosystems – very few are writing tests for SwiftUI code. There is a huge opportunity for people to learn how to write cheap micro tests.
Krzysztof Zabłocki
Consultant and author of widely recognized community tools
It’s nice to see a slight improvement over last year, but I feel we are still far behind web stacks. Apple did improve its XCTest and Xcode support for TDD, and with Xcode Cloud, anyone can start using them with relative ease.
Krzysztof Zabłocki
Consultant and author of widely recognized community tools
The biggest issue with UI tests that I've observed in client projects is the speed of execution. With TDD, we can get an extremely fast feedback loop, but we can't really achieve that with UI tests.
Because of this, we often configure projects in a way that runs UI tests daily instead of each pull request (too slow, and in larger teams, it can make the pull request queues way too long).
Dave Verwer
Creator of iOS Dev Weekly and co-founder of the Swift Package Index
It’s hard to carve out time to switch your dependency management if nothing is broken, so it’s incredible to see SwiftPM take the top spot this year. With so many people planning to move to SwiftPM within the next 12 months, I expect even higher numbers next year.
Jon Reid
Coach and trainer at Industrial Logic, author of iOS Unit Testing by Example
A lot of developers only write with SwiftUI. Among this 40% are a growing number of developers who have never used UIKit. The shift is real.
Thank you for your time!
We hope you found our report useful. Share this report with your friends and colleagues.
If you have any questions or suggestions, please contact us at surveys@jetbrains.com.