Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Added Support for React Native Projects #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,9 @@ You can optionally hear about any of the following events as the delegate of you

@end
```

## Third Party Bindings

### React Native
You may now use this library with [React Native](https://github.com/facebook/react-native) via the module [here](https://github.com/prscX/react-native-tooltips)

2 changes: 1 addition & 1 deletion SexyTooltip/SexyTooltip.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ typedef NS_ENUM(NSUInteger, SexyTooltipArrowDirection) {

@interface SexyTooltip : UIView

@property (nonatomic, weak) id<SexyTooltipDelegate> delegate;
@property (nonatomic, strong) id<SexyTooltipDelegate> delegate;

@property (nonatomic, strong) UIView *contentView; // the content to display in the tooltip, e.g. UILabel
@property (nonatomic, readonly) BOOL isShowing;
Expand Down