Skip to content

Commit

Permalink
chore: change VisionOS to visionOS (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
krozniata authored and okwasniewski committed Nov 23, 2023
1 parent dfa9485 commit 0436b98
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
Build spatial apps with React.
</p>

React Native Vision OS allows you to write VisionOS with full support for platform SDK. This is a full fork of the main repository with changes needed to support VisionOS.
React Native Vision OS allows you to write visionOS with full support for platform SDK. This is a full fork of the main repository with changes needed to support visionOS.

This project is still at an early stage of development and is not ready for production use.

## Contributing

1. Download latest Xcode beta [here](https://developer.apple.com/xcode/).
2. Install VisionOS Simulator runtime.
2. Install visionOS Simulator runtime.
3. Follow the same steps as for running iOS defined in [packages/rn-tester/README.md](./packages/rn-tester/README.md)
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ type Props = $ReadOnly<{|
*/
'aria-label'?: ?string,
/**
* Props needed for VisionOS.
* Props needed for visionOS.
*/
...VisionOSProps,
|}>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export interface TouchableOpacityProps
tvParallaxProperties?: TVParallaxProperties | undefined;

/**
* Hover style to apply to the view. Only supported on VisionOS.
* Hover style to apply to the view. Only supported on visionOS.
*/
visionos_hoverEffect?: HoverEffect | undefined;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export interface ViewPropsIOS extends TVViewPropsIOS {
*/
shouldRasterizeIOS?: boolean | undefined;
/**
* Hover style to apply to the view. Only supported on VisionOS.
* Hover style to apply to the view. Only supported on visionOS.
*/
visionos_hoverEffect?: HoverEffect | undefined;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ type IOSViewProps = $ReadOnly<{|
shouldRasterizeIOS?: ?boolean,

/**
* Hover style to apply to the view. Only supported on VisionOS.
* Hover style to apply to the view. Only supported on visionOS.
*/
visionos_hoverEffect?: ?HoverEffect,
|}>;
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/React/Views/RCTViewManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ typedef void (^RCTViewManagerUIBlock)(RCTUIManager *uiManager, NSDictionary<NSNu

#if TARGET_OS_VISION
/**
* These macros allow properties to only be mapped in VisionOS.
* These macros allow properties to only be mapped in visionOS.
*/
#define RCT_EXPORT_NOT_VISIONOS_VIEW_PROPERTY(name, type)
#define RCT_EXPORT_VISIONOS_VIEW_PROPERTY(name, type) \
Expand Down

0 comments on commit 0436b98

Please sign in to comment.