<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/platform-channels-are-dead-objective-c-swift-interop-is-here--zfrziiqkr" -->

---
title: Platform Channels are Dead! Objective-C/Swift Interop is...
description: Objective-C/Swift Interop is a feature in Dart 2.18 that allows developers to directly call native code on iOS from their Dart codebase. This article explores...
canonical: https://daily.dev/posts/platform-channels-are-dead-objective-c-swift-interop-is-here--zfrziiqkr
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Platform Channels are Dead! Objective-C/Swift Interop is Here! | daily.dev
og:description: Objective-C/Swift Interop is a feature in Dart 2.18 that allows developers to directly call native code on iOS from their Dart codebase. This article explores...
og:url: https://daily.dev/posts/platform-channels-are-dead-objective-c-swift-interop-is-here--zfrziiqkr
og:image: https://api.daily.dev/og/posts/ZfrziiqKr.png
og:image:alt: Platform Channels are Dead! Objective-C/Swift Interop is Here!
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Platform Channels are Dead! Objective-C/Swift Interop is Here!

**[QuickBird Studios](https://daily.dev/sources/quickbirdstudios)** · 10 min read · 4 upvotes · 0 comments

## Summary

Objective-C/Swift Interop is a feature in Dart 2.18 that allows developers to directly call native code on iOS from their Dart codebase. This article explores the use of Objective-C/Swift Interop to eliminate the need for platform-channels. It discusses the problem of relying on platform channels, introduces Objective-C/Swift Interop, provides an example of calling an iOS function using Objective-C/Swift Interop, and mentions the limitations of the feature. The article also mentions the upcoming implementation of JNI for Android and speculates on the future of Swift Interop in Flutter development.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://quickbirdstudios.com/blog/dart-swift-objective-c-interop/>

---

Tags: [#dart](https://daily.dev/tags/dart), [#flutter](https://daily.dev/tags/flutter), [#objective-c](https://daily.dev/tags/objective-c), [#swift](https://daily.dev/tags/swift)

[View this post on daily.dev](https://daily.dev/posts/platform-channels-are-dead-objective-c-swift-interop-is-here--zfrziiqkr)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Platform Channels are Dead! Objective-C/Swift Interop is Here!","url":"https://daily.dev/posts/platform-channels-are-dead-objective-c-swift-interop-is-here--zfrziiqkr","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/platform-channels-are-dead-objective-c-swift-interop-is-here--zfrziiqkr"},"datePublished":"2023-12-11T15:44:24.348Z","dateModified":"2024-01-27T02:17:09.506Z","description":"Objective-C/Swift Interop is a feature in Dart 2.18 that allows developers to directly call native code on iOS from their Dart codebase. This article explores...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/bf1edb1c421e6d963fcdfb525ca88b67?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/bf1edb1c421e6d963fcdfb525ca88b67?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"QuickBird Studios","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"QuickBird Studios","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/1e2ab41bd3a54f1eb328ef68649ebf20","url":"https://daily.dev/sources/quickbirdstudios"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/platform-channels-are-dead-objective-c-swift-interop-is-here--zfrziiqkr","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":4},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"dart,flutter,objective-c,swift","timeRequired":"PT10M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"QuickBird Studios","item":"https://daily.dev/sources/quickbirdstudios"},{"@type":"ListItem","position":3,"name":"Platform Channels are Dead! Objective-C/Swift Interop is Here!"}]}
```

