---
title: "Replacing EnvironmentKit with the new SwiftUI Entry macro"
url: https://daily.dev/posts/replacing-environmentkit-with-the-new-swiftui-entry-macro-mdmrfeaku
source_url: https://danielsaidi.com/blog/2025/01/11/replacing-environmentkit-with-the-entry-macro
type: article
source: "Daniel Saidi"
published: 2026-07-05T07:13:52.656Z
updated: 2026-07-05T07:16:52.514Z
tags: ["swift", "swiftui"]
reading_time: 3
upvotes: 0
comments: 0
language: 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.

# Replacing EnvironmentKit with the new SwiftUI Entry macro

**[Daniel Saidi](https://daily.dev/sources/danielsaidi)** · 3 min read · 0 upvotes · 0 comments

## Summary

The SwiftUI `@Entry` macro introduced in recent SwiftUI versions makes the open-source library EnvironmentKit obsolete. EnvironmentKit was built to reduce boilerplate when creating custom SwiftUI environment values. With `@Entry`, you simply annotate a property in an `EnvironmentValues` extension and the macro handles the rest — no custom key types or manual getters/setters needed. The author has decided to deprecate and remove EnvironmentKit from GitHub as a result.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://danielsaidi.com/blog/2025/01/11/replacing-environmentkit-with-the-entry-macro>

---

Tags: [#swift](https://daily.dev/tags/swift), [#swiftui](https://daily.dev/tags/swiftui)

[View this post on daily.dev](https://daily.dev/posts/replacing-environmentkit-with-the-new-swiftui-entry-macro-mdmrfeaku)
