Skip to content

Conversation

@iv-mexx
Copy link
Contributor

@iv-mexx iv-mexx commented Nov 23, 2016

As the title says.

Most is about the renaming of the events (Next -> value, lowercases) and the use of the Protocols rather than the types. Furthermore, SignalProducer.buffer is now gone.

Similar to the part about DynamicProperty which was deleted in #101 because its now in ReactiveCocoa, I've also deleted the part about CocoaAction.

## Signals

A **signal**, represented by the [`Signal`][Signal] type, is any series of [events](#events)
A **signal**, represented by the [`SignalProtocol`][Signal] protocol, is any series of [events](#events)
Copy link
Member

@andersio andersio Nov 23, 2016

Choose a reason for hiding this comment

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

This should not be changed. We use SignalProtocol only to constraint the extensions, since we can't use same-type requirements in concrete type extensions yet. A signal is always the concrete type Signal.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Alright ✅

## Signal Producers

A **signal producer**, represented by the [`SignalProducer`][SignalProducer] type, creates
A **signal producer**, represented by the [`SignalProducerProtocol`][SignalProducer] protocol, creates
Copy link
Member

Choose a reason for hiding this comment

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

Ditto.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

An **observer** is anything that is waiting or capable of waiting for [events](#events)
from a [signal](#signals). Within RAC, an observer is represented as
an [`Observer`][Observer] that accepts [`Event`][Event] values.
from a [signal](#signals). Within RAC, an observer is represented by the [`ObserverProtocol`][Observer].
Copy link
Member

Choose a reason for hiding this comment

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

Ditto.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

## Actions

An **action**, represented by the [`Action`][Action] type, will do some work when
An **action**, represented by the [`ActionProtocol`][Action] protocol, will do some work when
Copy link
Member

Choose a reason for hiding this comment

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

Ditto.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@iv-mexx iv-mexx force-pushed the feature/frameworkOverview branch from d0b1de4 to 78364e5 Compare November 23, 2016 13:17
@iv-mexx
Copy link
Contributor Author

iv-mexx commented Nov 23, 2016

@andersio So, for Event, Property, and Scheduler, its still correct to refer to them as ...Protocol, right?

@andersio
Copy link
Member

Hmm, probably not Event. We do not expect to have multiple conforming type.

@iv-mexx iv-mexx force-pushed the feature/frameworkOverview branch from 78364e5 to b192a17 Compare November 23, 2016 14:17
@iv-mexx
Copy link
Contributor Author

iv-mexx commented Nov 23, 2016

Alright, I've change that for Event as well (to just say Event)


## Properties

A **property**, represented by the [`PropertyProtocol`][Property],
Copy link
Member

Choose a reason for hiding this comment

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

Line 132 has a broken link. May you help fix it please?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh my, missed that in #101, but fixed it now 👍

@iv-mexx iv-mexx force-pushed the feature/frameworkOverview branch from bb5ab22 to 520366c Compare November 23, 2016 14:34
@andersio andersio merged commit b0d3b68 into ReactiveCocoa:master Nov 23, 2016
@iv-mexx iv-mexx deleted the feature/frameworkOverview branch November 29, 2016 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants