Swift and Objective-C

These questions were only shown to the developers who chose Swift or Objective-C as one of their three primary programming languages.

Number of Swift and Objective-C developers

Which Apple platforms do you develop for?

Do you plan to adopt your iOS applications for macOS using Mac Catalyst?

Do you use Swift and Objective-C together in the same project?

Do you have C++ code or C++ libraries in your project?

Almost half of Swift and Objective-C developers have C++ code or libraries in their projects. For Objective-C users alone, this figure is 57%, while it is only 33% for Swift users.

Which unit-testing frameworks do you regularly use?

This question was only answered by respondents who either write or use unit tests. This chart includes only the responses of those who selected at least one framework.

Which mock or matcher frameworks do you use, if any?

Which UI testing frameworks do you regularly use?

Only one out of every three Swift/Objective-C developers does UI testing.

Which dependency manager do you use?

The share of CocoaPods has declined slightly (by 6 percentage points), and the share of Swift Package Manager has absorbed the CocoaPods losses, increasing 8 percentage points since last year.

Do you plan to replace CocoaPods dependencies with SPM packages?

This question was only answered by respondents who use CocoaPods as their dependency manager.

Which database engine / framework combination do you use?

Do you use an external database viewer?

Which database viewer do you use the most?

This question was only answered by respondents who use an external database viewer.

DB Browser is slightly more popular among Objective-C developers — 37% claim to use it. Among Swift developers, by contrast, this number is 25%.

How do you build your project?

Do you develop with Swift on Linux?

This question was only answered by those who use Swift as their primary programming language.

The share of people unwilling to develop with Swift on Linux has decreased by 10 percentage points since last year.

Do you develop server-side projects
using Swift?

Which frameworks do you use for server-side development with Swift?

This question was only answered by those who use Swift as their primary programming language.

Which editor or IDE do you primarily use for server-side development with Swift?


Thank you for your time!

We hope you found our report useful. Share this report with your friends and colleagues.

Participate in future surveys

If you have any questions or suggestions, please contact us at surveys@jetbrains.com.