expo-ui-swift-ui
यह क्या करती है
यह टूल Expo ऐप्स के लिए SwiftUI का इस्तेमाल करके विज़ुअल इंटरफ़ेस बनाने में मदद करता है। SwiftUI iOS का नेटिव फ़्रेमवर्क है। आप SwiftUI के विज़ुअल एलिमेंट्स को React Native कॉम्पोनेंट्स के साथ मिला सकते हैं।
कब इस्तेमाल करें
- ✓जब आप iPhone/iPad के लिए Expo ऐप का विज़ुअल हिस्सा बनाना चाहते हों।
- ✓जब SwiftUI के विज़ुअल एलिमेंट्स को React Native के हिस्सों के साथ मिलाना हो।
- ✓अगर आप Expo वर्शन 55 इस्तेमाल कर रहे हैं और ज़्यादा एडवांस विज़ुअल फ़ीचर चाहते हैं।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/expo-ui-swift-ui/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे Expo ऐप के लिए SwiftUI का इस्तेमाल करके एक लॉगिन स्क्रीन बनाओ, जिसमें ईमेल और पासवर्ड के फ़ील्ड और एक लॉगिन बटन हो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह टूल iOS के SwiftUI फ़्रेमवर्क को Expo से जोड़ता है। आप विज़ुअल कोड SwiftUI में लिखते हैं, और टूल यह पक्का करता है कि वह आपके Expo ऐप के अंदर ठीक से चले। साथ ही आप इसमें React Native कॉम्पोनेंट्स भी शामिल कर सकते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
The instructions in this skill apply to SDK 55 only. For other SDK versions, refer to the Expo UI SwiftUI docs for that version for the most accurate information.
When to Use
- You need to build iOS-native UI in Expo using
@expo/ui/swift-ui. - The task involves selecting SwiftUI views or modifiers, wrapping trees in
Host, or embedding React Native components withRNHostView. - You are targeting Expo SDK 55 behavior for SwiftUI integration and extension guidance.
Installation
npx expo install @expo/ui
A native rebuild is required after installation (npx expo run:ios).
Instructions
- Expo UI's API mirrors SwiftUI's API. Use SwiftUI knowledge to decide which components or modifiers to use.
- Components are imported from
@expo/ui/swift-ui, modifiers from@expo/ui/swift-ui/modifiers. - When about to use a component, fetch its docs to confirm the API - https://docs.expo.dev/versions/v55.0.0/sdk/ui/swift-ui/{component-name}/index.md
- When unsure about a modifier's API, refer to the docs - https://docs.expo.dev/versions/v55.0.0/sdk/ui/swift-ui/modifiers/index.md
- Every SwiftUI tree must be wrapped in
Host. RNHostViewis specifically for embedding RN components inside a SwiftUI tree. Example:
import { Host, VStack, RNHostView } from "@expo/ui/swift-ui";
import { Pressable } from "react-native";
<Host matchContents>
<VStack>
<RNHostView matchContents>
{/* Pressable is a React Native component, embedded through RNHostView. */}
<Pressable />
</RNHostView>
</VStack>
</Host>;
- If a required modifier or View is missing in Expo UI, it can be extended via a local Expo module. See: https://docs.expo.dev/guides/expo-ui-swift-ui/extending/index.md. Confirm with the user before extending.
Limitations
- APIs target SDK 55; check that version’s actual Expo docs and installed package before editing. Android/iOS examples are platform-specific, not interchangeable or proof of real-device behavior. Existing framework and user requirements take precedence.
- Native rebuilds install/execute dependencies and change the project; review the intended development target first. icon.xml and app code are application assets, not bundled files.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
अक्सर पूछे जाने वाले सवाल
क्या इसे इस्तेमाल करने के लिए Swift प्रोग्रामिंग आनी चाहिए?
SwiftUI की जानकारी होना मददगार है, क्योंकि यह टूल उसी के API जैसा काम करता है। फिर भी, कॉम्पोनेंट्स और उनके इस्तेमाल का तरीका जानने के लिए आप डॉक्युमेंटेशन देख सकते हैं।
क्या यह Android पर भी चलता है?
यह टूल मुख्य रूप से iOS के लिए नेटिव इंटरफ़ेस बनाने पर केंद्रित है। Android के लिए आप सामान्य React Native कॉम्पोनेंट्स इस्तेमाल करेंगे।
'Host' और 'RNHostView' क्या हैं?
'Host' SwiftUI एलिमेंट्स के लिए ज़रूरी कंटेनर है, ताकि वे Expo में काम कर सकें। 'RNHostView' का इस्तेमाल खास तौर पर SwiftUI से बने ढांचे के अंदर React Native कॉम्पोनेंट्स रखने के लिए होता है।
जानकारी
लेखक का मूल विवरण
Build iOS-native Expo SDK 55 UI with SwiftUI views/modifiers, Host/RNHostView embedding and native rebuild prerequisites.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #4579
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
android-clean-architecture
280kयह आपके एजेंट को Android projects को व्यवस्थित तरीके से संभालने देता है। यह code को ऐसा ढांचा देता है कि उसकी देखभाल और नए features जोड़ना आसान हो।
compose-multiplatform-patterns
280kKMP projects में Compose Multiplatform और Jetpack Compose patterns इस्तेमाल करने में आपके एजेंट की मदद करता है। इसमें state, navigation, theming और performance शामिल हैं।
dart-flutter-patterns
280kयह आपके एजेंट को Dart और Flutter apps के लिए code लिखने देता है। यह आधुनिक patterns इस्तेमाल करके मज़बूत और आसानी से संभलने वाले apps बनाता है।