Is Cocoa still around?

Generated on 8/3/2024

1 search

Yes, Cocoa is still around. While Swift has become the primary language for app development on Apple's platforms, Objective-C and the Cocoa framework continue to be supported. In fact, even though Swift has introduced many modern features and improvements, the legacy APIs and frameworks, including those written in Objective-C, still benefit from updates and enhancements.

For example, in the session What’s new in Swift, it is mentioned that the Foundation framework, which is a core part of Cocoa, has been rewritten in Swift to provide a more consistent, higher quality, and better-performing API. This new implementation benefits both Swift and Objective-C applications.

Here are some relevant sessions that discuss the evolution and current state of Swift and its interoperability with existing frameworks:

  1. What’s new in Swift
  2. Platforms State of the Union
  3. Migrate your app to Swift 6

These sessions highlight how Swift continues to evolve while maintaining compatibility and improving upon the existing Objective-C and Cocoa frameworks.