Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
* Lightweight wrapper class around a UIView with a react tag which registers a
* constant react tag at initialization time for a stable hash and provides the
* udnerlying view to a caller if that underlying view's react tag has not
* underlying view to a caller if that underlying view's react tag has not
* changed from the one provided at initialization time (i.e. recycled).
*/
@interface RCTReactTaggedView : NSObject {
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/React/Modules/RCTUIManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ RCT_EXTERN NSString *const RCTUIManagerWillUpdateViewsDueToContentSizeMultiplier
/**
* Set the available size (`availableSize` property) for a root view.
* This might be used in response to changes in external layout constraints.
* This value will be directly trasmitted to layout engine and defines how big viewport is;
* This value will be directly transmitted to layout engine and defines how big viewport is;
* this value does not affect root node size style properties.
* Can be considered as something similar to `setSize:forView:` but applicable only for root view.
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/React/Views/RCTLayout.m
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ RCTLayoutMetrics RCTLayoutMetricsFromYogaNode(YGNodeRef yogaNode)
* Yoga and CoreGraphics have different opinions about how "infinity" value
* should be represented.
* Yoga uses `NAN` which requires additional effort to compare all those values,
* whereas GoreGraphics uses `GFLOAT_MAX` which can be easyly compared with
* whereas GoreGraphics uses `GFLOAT_MAX` which can be easily compared with
* standard `==` operator.
*/

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 @@ -117,7 +117,7 @@ typedef void (^RCTViewManagerUIBlock)(RCTUIManager *uiManager, NSDictionary<NSNu
RCT_REMAP_SHADOW_PROPERTY(name, __custom__, type) \
-(void)set_##name : (id)json forShadowView : (viewClass *)view RCT_DYNAMIC

// Parse a JSON object and only return the number value, eveything else returns a 0
// Parse a JSON object and only return the number value, everything else returns a 0
CGFloat RCTJSONParseOnlyNumber(id json);

@end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,23 +156,23 @@ public abstract class Event<T : Event<T>> {

/**
* NOTE: This is a transitional method that allows accessing event data from outside the
* sublcasses, but inside the package.
* subclasses, but inside the package.
*/
internal fun internal_getEventData(): WritableMap? = getEventData()

protected open fun getEventCategory(): Int = EventCategoryDef.UNSPECIFIED

/**
* NOTE: This is a transitional method that allows accessing event category from outside the
* sublcasses, but inside the package.
* subclasses, but inside the package.
*/
internal fun internal_getEventCategory(): Int = getEventCategory()

protected open fun experimental_isSynchronous(): Boolean = false

/**
* NOTE: This is a transitional method that allows accessing event category from outside the
* sublcasses, but inside the package.
* subclasses, but inside the package.
*/
internal fun internal_experimental_isSynchronous(): Boolean = experimental_isSynchronous()

Expand Down