Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Ports React and React Native features to native iOS/Swift by matching the target codebase's existing patterns and preserving behavior.
Use this skill ↓73% 73%0 ptsof test cases passed
Passed 16 of 22 test cases with the skill, and 16 of 22 without it.
3 of 3 safety checks passed
Not used yet
Use React/React Native code as the reference to implement the equivalent native iOS feature. Not a literal translation - understand what the React code does, then implement it idiomatically for iOS.
Use this when:
React Code → Understand Feature → Match iOS Codebase Patterns → Implement
(what) (how it's done here)
Preserved: Feature behavior, data structure shapes, business logic, user flows, API contracts Adapted: Language idioms, frameworks, UI patterns to match the iOS codebase
| React/React Native | iOS/Swift Equivalent |
|---|---|
useState | @State / @Published |
useEffect | .onAppear / .task / viewDidLoad |
useContext | Environment objects / Dependency injection |
useMemo / useCallback | Computed properties / lazy vars |
useReducer | State machine / Combine |
| Props | Init parameters / Bindings |
View / div | SwiftUI View / UIKit UIView |
Text | Text / UILabel |
Image | Image / UIImageView |
ScrollView | ScrollView / UIScrollView |
FlatList | List / LazyVStack / UITableView |
TouchableOpacity | Button / tap gestures |
TextInput | TextField / UITextField |
StyleSheet | SwiftUI modifiers / UIKit constraints |
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.