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

Update subscriptionHelper declaration #77

Merged
merged 1 commit into from
May 4, 2024

Conversation

Hengyu
Copy link
Contributor

@Hengyu Hengyu commented May 4, 2024

We can use lazy var here to reference self when declare the property.

As a result, there is no longer need to mark the property as force unwrapped ! and we can use this property as usual.

@Hengyu
Copy link
Contributor Author

Hengyu commented May 4, 2024

@russell-archer PTAL

@russell-archer russell-archer self-requested a review May 4, 2024 14:21
@russell-archer russell-archer added the enhancement New feature or request label May 4, 2024
@russell-archer
Copy link
Owner

Nice idea! Merged - thank you!

@russell-archer russell-archer merged commit e7fd228 into russell-archer:main May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants