Is there still a place for objective-c?

Generated on 7/30/2024

1 search

Tailscan

This post is brought to you by Tailscan, the best devtool for Tailwind CSS.

Yes, there is still a place for Objective-C, although Swift is increasingly becoming the preferred language for many developers.

Apple has been emphasizing the benefits of Swift, such as its safety, speed, and modern features, which make it a compelling choice for app development and other software projects. Swift's interoperability with C and Objective-C allows developers to incrementally adopt Swift in their existing projects, which means that Objective-C codebases can still benefit from Swift's advancements.

For example, in the session What’s new in Swift, it was mentioned that even Objective-C applications gain the benefit of improvements made in the Swift Foundation. This shows that while Swift is being promoted as the future, Objective-C is still supported and can coexist with Swift in the same projects.

Additionally, in the Platforms State of the Union, it was highlighted that Swift is being adopted throughout Apple's software stack, but the interoperability with C and Objective-C ensures that existing codebases can transition smoothly.

Relevant Sessions:

  1. Platforms State of the Union
  2. What’s new in Swift

In summary, while Swift is the focus for new development, Objective-C remains relevant and supported, especially through its interoperability with Swift.

SwiftUI essentials

SwiftUI essentials

Join us on a tour of SwiftUI, Apple’s declarative user interface framework. Learn essential concepts for building apps in SwiftUI, like views, state variables, and layout. Discover the breadth of APIs for building fully featured experiences and crafting unique custom components. Whether you’re brand new to SwiftUI or an experienced developer, you’ll learn how to take advantage of what SwiftUI has to offer when building great apps.

Platforms State of the Union 5-Minute Recap

Platforms State of the Union 5-Minute Recap

Watch a quick recap of the newest advancements on Apple platforms.

Platforms State of the Union

Platforms State of the Union

Discover the newest advancements on Apple platforms.

What’s new in Swift

What’s new in Swift

Join us for an update on Swift. We’ll briefly go through a history of Swift over the past decade, and show you how the community has grown through workgroups, expanded the package ecosystem, and increased platform support. We’ll introduce you to a new language mode that achieves data-race safety by default, and a language subset that lets you run Swift on highly constrained systems. We’ll also explore some language updates including noncopyable types, typed throws, and improved C++ interoperability.

Port advanced games to Apple platforms

Port advanced games to Apple platforms

Discover how simple it can be to reach players on Apple platforms worldwide. We’ll show you how to evaluate your Windows executable on Apple silicon, start your game port with code samples, convert your shader code to Metal, and bring your game to Mac, iPhone, and iPad. Explore enhanced Metal tools that understand HLSL shaders to validate, debug, and profile your ported shaders on Metal.