From 4ab8e590767b8d752563bc8f79dd82aceaf9a1c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Gu=CC=88ner?= Date: Mon, 23 Dec 2024 13:39:12 +0300 Subject: [PATCH] feat: update ios template with the latest version --- .../templates/nitro-module/ios/{%- project.name %}.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/create-react-native-library/templates/nitro-module/ios/{%- project.name %}.swift b/packages/create-react-native-library/templates/nitro-module/ios/{%- project.name %}.swift index 4854d8142..1f09ee1a4 100644 --- a/packages/create-react-native-library/templates/nitro-module/ios/{%- project.name %}.swift +++ b/packages/create-react-native-library/templates/nitro-module/ios/{%- project.name %}.swift @@ -1,6 +1,5 @@ class <%- project.name -%>: Hybrid<%- project.name -%>Spec { - public var hybridContext = margelo.nitro.HybridContext() - public var memorySize: Int { + public override var memorySize: Int { getSizeOf(self) }