Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: change VisionOS to visionOS #13

Merged
merged 1 commit into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -440,7 +440,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