Skip to content

Instantly share code, notes, and snippets.

@okwasniewski
Last active February 26, 2025 12:02
Show Gist options
  • Save okwasniewski/18c9092e0b7b8665a274d750d086d8ca to your computer and use it in GitHub Desktop.
Save okwasniewski/18c9092e0b7b8665a274d750d086d8ca to your computer and use it in GitHub Desktop.
SwiftUIStoreViewView.mm
- (instancetype)initWithFrame:(CGRect)frame
{
if (self = [super initWithFrame:frame]) {
static const auto defaultProps = std::make_shared<const SwiftUIStoreViewViewProps>();
_props = defaultProps;
_view = [[StoreViewProvider alloc] init];
self.contentView = _view;
}
return self;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment