Skip to content

Commit

Permalink
Add missing NS_ASSUME_NONNULL macro (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekzaw authored Sep 11, 2024
1 parent fadfc7e commit c5f7e61
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1497,7 +1497,7 @@ PODS:
- React-logger (= 0.75.2)
- React-perflogger (= 0.75.2)
- React-utils (= 0.75.2)
- RNLiveMarkdown (0.1.135):
- RNLiveMarkdown (0.1.137):
- DoubleConversion
- glog
- hermes-engine
Expand All @@ -1517,9 +1517,9 @@ PODS:
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- RNLiveMarkdown/common (= 0.1.135)
- RNLiveMarkdown/common (= 0.1.137)
- Yoga
- RNLiveMarkdown/common (0.1.135):
- RNLiveMarkdown/common (0.1.137):
- DoubleConversion
- glog
- hermes-engine
Expand Down Expand Up @@ -1805,7 +1805,7 @@ SPEC CHECKSUMS:
React-utils: 81a715d9c0a2a49047e77a86f3a2247408540deb
ReactCodegen: 60973d382704c793c605b9be0fc7f31cb279442f
ReactCommon: 6ef348087d250257c44c0204461c03f036650e9b
RNLiveMarkdown: 77f3338039cf98111a753256849b90567a41fc53
RNLiveMarkdown: b2d706acf1bbd968b8dab0be0dc69f130a14db6d
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
Yoga: 2a45d7e59592db061217551fd3bbe2dd993817ae

Expand Down
4 changes: 4 additions & 0 deletions ios/RCTLiveMarkdownModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@
#import <React/RCTEventEmitter.h>
#import <React/RCTUIManager.h>

NS_ASSUME_NONNULL_BEGIN

// Without inheriting after RCTEventEmitter we don't get access to bridge
@interface RCTLiveMarkdownModule
: RCTEventEmitter <NativeLiveMarkdownModuleSpec>
@end

NS_ASSUME_NONNULL_END

#endif // RCT_NEW_ARCH_ENABLED

0 comments on commit c5f7e61

Please sign in to comment.