-
Notifications
You must be signed in to change notification settings - Fork 433
Update documentation markup #274
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
Conversation
- `Signal`, `SignalProducer` & `Scheduler` classes have preconditions documented; - added a note about how `DisposableHandle` instances can be created; - added missing `/` to `Reactive` initialiser's documentation; - added missing documentation to `Atomic`'s transition methods;
Sources/Atomic.swift
Outdated
| /// | ||
| /// - parameters: | ||
| /// - expected: The expected state. | ||
| /// - next:The state to transition to. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A missing space between : and The.
Sources/Disposable.swift
Outdated
| /// CompositeDisposable. | ||
| /// `CompositeDisposable`. | ||
| /// | ||
| /// - note: Use `add(_:)` methods of `CompositeDisposable` instance to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One does not intentionally create a handle though... Perhaps should it be phrased as "add returns a handle" instead?
|
Pushed some more updates including requested changes. |
|
How did this not get merged earlier?! Sorry @eimantas! |
|
No worries! I managed to forget about this PR myself .) |
Signal,SignalProducer&Schedulerclasses have preconditionsdocumented;
DisposableHandleinstances can be created;/toReactiveinitialiser's documentation;Atomic's transition methods;