Number of Swift and Objective-C developers

Swift onlySwift and Objective-CObjective-C onlySwift only53%Swift and Objective-C31%Objective-C only15%

Swift dominates. Almost two thirds of those who use both languages in their projects have most of their code base in Swift.

Which Apple platforms do you develop for?

95%29%12% 8% 3%iOSmacOSwatchOStvOSI don’t develop for Apple platforms

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

61%24%15%Yes, most of my codebase is in SwiftYes, most of my codebase is in Objective-CNo

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

Which unit-testing frameworks do you regularly use?

84%XCTest
19%Quick + Nimble
14%Kiwi
10%Specta
3%KIF
0%Other

Which mock / matcher frameworks do you use?

13%11%10% 6% 4% 3% 1%66%OCMockSwiftHamcrestOCMockitoCuckooExpectaOCHamcrestOtherNone

58% of those who write unit tests don't use any mock / matcher frameworks, even though these frameworks can be quite handy.

This question was only answered by respondents who do UI testing.

Which UI testing frameworks do you regularly use?

73%29%12% 7% 0% 9%XCTestiOSSnapshotTestCase (FBSnapshotTestCase)EarlGreyKIFOtherNone

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

Which dependency manager do you use?

71%28%19% 0%12%CocoaPodsSwift Package ManagerCarthageOtherNone

Which database engine / framework combination do you use?

40%37%27%24% 5% 1%13%SQLite with my own wrapperCoreDataFirebaseRealmYAPDataBaseOtherNone

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

Which database viewer do you use the most?

29%22%22%18% 1% 8%SQLite+DB BrowserSQLProNavicatBaseOther

Two in five Swift or Objective-C devs use an external database viewer. DB Browser is more popular (39%) among the Swift-only devs, while SQLite+ is more popular among Objective-C-only devs (36%)

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

Do you develop with Swift on Linux?

66%No, and I don’t plan to inthe next 12 months
24%No, but I plan to in thenext 12 months
10%Yes

The percentage of developers who want to try Swift for Linux is the same as last year, as is the share of those who have already tried it. A quarter of Swift devs use Linux as one of their development environments.

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

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

81%Vapor
40%Perfect
27%Kitura

Only one out of five Swift devs developed server-side projects with Swift, with most choosing Vapor to get the job done.