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

OR-5242 Practice NotificationCenter #67

Merged
merged 2 commits into from
Apr 3, 2023
Merged

OR-5242 Practice NotificationCenter #67

merged 2 commits into from
Apr 3, 2023

Conversation

crazymanish
Copy link
Owner

Context

In this PR

  • Practice NotificationCenter

Testing steps

  • Git checkout this pr git-branch
  • Open the project and cmd+u

@crazymanish crazymanish linked an issue Apr 3, 2023 that may be closed by this pull request
@crazymanish crazymanish merged commit cd1db27 into main Apr 3, 2023
@crazymanish crazymanish deleted the OR-5242-p1 branch April 3, 2023 03:14

func testNotificationPublisher() {
// Given: Sink(Subscription)
publisher.sink { [weak self] completion in
Copy link
Collaborator

@buh buh Apr 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same:

NotificationCenter.default.publisher(for: notificationName).sink { [weak self] completion in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[w14(2april-8april)] Publisher: Practices/exercises
2 participants