andersio

andersio

Make Swift and Kotlin things. Maintains @ReactiveCocoa.

Member Since 6 years ago

London, United Kingdom

Experience Points
181
follower
Lessons Completed
14
follow
Lessons Completed
51
stars
Best Reply Awards
43
repos

1067 contributions in the last year

Pinned
⚡ Streams of values over time
⚡ Composable unidirectional data flow with ReactiveSwift.
⚡ Cocoa framework and Obj-C dynamism bindings for ReactiveSwift.
⚡ A Swift collection diffing μframework.
Activity
Nov
3
1 month ago
push

andersio push sebastiangrail/ReactiveSwift

andersio
andersio

Make advance by TimeInterval in TestScheduler possible

The currentDate in TestScheduler could already be advanced by DispatchTimeInterval. In unit tests the developer might want to reuse an existing constant, which often is a Double/TimeInterval`.

This commits adds a second method with exactly the same signature as the existing one; only the type of the argument is different.

andersio
andersio
andersio
andersio

Use official xcconfigs repository (#832)

  • Use official xcconfigs repository

  • Use macOS-XCTest configuration over macOS-Application for test targets

andersio
andersio

Fix typo ("conjuncion" --> "conjunction")

andersio
andersio

Merge pull request #835 from ansonj/fix-spelling-typo

Fix typo ("conjuncion" --> "conjunction")

andersio
andersio

Merge branch 'master' into advance-by-timeinterval

andersio
andersio

Merge pull request #828 from carsten-wenderdel/advance-by-timeinterval

andersio
andersio

Update private dependencies and tidy up Xcode configuration (#833)

  • Remove duplicate files from compile sources build phase

  • Remove redundant empty build phases

  • Update Quick to 4.0.0 and Nimble to 9.2.0

  • Update Swift to version 5 in Xcode configuration

  • Clean up Xcode code signing configuration

  • Sort source files by type and name

  • Remove duplicating runpath search paths Xcode configuration

This is already provided by xcconfigs.

  • Remove duplicating bitcode Xcode configuration

This is already provided by Xcode defaults.

andersio
andersio

Unserialized and Reentrant Signals (#797)

  • Offer Signal variants for advanced users.

  • Switch flatMapEvent to use nonSerializing.

  • Test coverage.

  • Changelog

  • Expand the changelog.

  • Fix indentation.

  • Extend nonSerializing() to properties and producers too.

  • Make on() and withLatest non-serializing

  • Signals made by Producer can be non-serializing too

  • NonSerializing -> Unserialized

  • Remove use of @specialize

  • reentrant -> reentrantUnserialized

  • Update changelog

  • Revive @specialize

andersio
andersio
andersio
andersio

Debounce, Throttle, CollectEvery (#816)

andersio
andersio

Polish the changelog entries for 6.7.0 RC1.

andersio
andersio

Signal.Event: changed to @frozen (#841)

This enum isn't expected to change. It's important to mark it as @frozen so that clients don't get warnings whem compiling with BUILD_LIBRARY_FOR_DISTRIBUTION, which might be required in a future version of Carthage supporting Catalyst. (See https://github.com/Carthage/Carthage/pull/3235).

andersio
andersio

SUPPORTS_MACCATALYST (#840)

Co-authored-by: Anders Ha [email protected]

andersio
andersio

Add take(until:) operator (#839)

Forward any values until shouldContinue returns false, at which point the returned signal forwards the last value and then it completes.

This is equivalent to take(while:), except it also forwards the last value that failed the check.

andersio
andersio

Fix "No such module 'ReactiveSwift'" in Playground pages by enabling "buildActiveScheme" (#845)

andersio
andersio

Fix "'value' is inaccessible due to 'internal' protection level" in SignalProducer playground (#844)

commit sha: 25c9fa194dfa1ed1dcbf1307890243cca254f5ea

push time in 1 month ago
push

andersio push ReactiveCocoa/ReactiveCocoa

andersio
andersio

Added missing UIKitReusableComponents to macOS target (#3730)

Follow up to #3729.

commit sha: 9151737e66be56c4bcb5fdf063c10e029add961a

push time in 1 month ago
Activity icon
delete
deleted time in 1 month ago
pull request

andersio pull request ReactiveCocoa/ReactiveCocoa

andersio
andersio

Added missing `UIKitReusableComponents` to macOS target

Follow up to #3729.

pull request

andersio merge to ReactiveCocoa/ReactiveCocoa

andersio
andersio

Added missing `UIKitReusableComponents` to macOS target

Follow up to #3729.

push

andersio push ReactiveCocoa/ReactiveSwift

andersio
andersio

Fix "'value' is inaccessible due to 'internal' protection level" in SignalProducer playground (#844)

commit sha: 413f8835487ac97c5177658d1a9d4ab015ee170e

push time in 1 month ago
pull request

andersio pull request ReactiveCocoa/ReactiveSwift

andersio
andersio

Fix "'value' is inaccessible due to 'internal' protection level" in SignalProducer playground

This fixes the 'value' is inaccessible due to 'internal' protection level of the SignalProducer playground page

error: SignalProducer.xcplaygroundpage:138:17: error: 'value' is inaccessible due to 'internal' protection level
                        print(result.value)
                                     ^~~~~

value' is inaccessible due to 'internal' protection level]

Caused by #733

Checklist

  • Updated CHANGELOG.md.
pull request

andersio merge to ReactiveCocoa/ReactiveSwift

andersio
andersio

Fix "'value' is inaccessible due to 'internal' protection level" in SignalProducer playground

This fixes the 'value' is inaccessible due to 'internal' protection level of the SignalProducer playground page

error: SignalProducer.xcplaygroundpage:138:17: error: 'value' is inaccessible due to 'internal' protection level
                        print(result.value)
                                     ^~~~~

value' is inaccessible due to 'internal' protection level]

Caused by #733

Checklist

  • Updated CHANGELOG.md.
pull request

andersio pull request ReactiveCocoa/ReactiveSwift

andersio
andersio

Fix "No such module 'ReactiveSwift'" in Playground pages by enabling "buildActiveScheme"

Before After
No such module ReactiveSwift before No such module ReactiveSwift after

Checked with Xcode 13.1.0

Checklist

  • Updated CHANGELOG.md.
push

andersio push ReactiveCocoa/ReactiveSwift

andersio
andersio

Fix "No such module 'ReactiveSwift'" in Playground pages by enabling "buildActiveScheme" (#845)

commit sha: 0c095079ee028e872372cfbb9b2caa3dedb3c35d

push time in 1 month ago
pull request

andersio merge to ReactiveCocoa/ReactiveSwift

andersio
andersio

Fix "No such module 'ReactiveSwift'" in Playground pages by enabling "buildActiveScheme"

Before After
No such module ReactiveSwift before No such module ReactiveSwift after

Checked with Xcode 13.1.0

Checklist

  • Updated CHANGELOG.md.
push

andersio push ReactiveCocoa/ReactiveSwift

andersio
andersio

Add take(until:) operator (#839)

Forward any values until shouldContinue returns false, at which point the returned signal forwards the last value and then it completes.

This is equivalent to take(while:), except it also forwards the last value that failed the check.

commit sha: 56d51e901968cf54488608e492cf7866eec8a7a5

push time in 1 month ago
pull request

andersio pull request ReactiveCocoa/ReactiveSwift

andersio
andersio

Add take(until:) operator

Forward any values until shouldContinue returns false, at which point the returned signal forwards the last value and then it completes.

This is equivalent to take(while:), except it also forwards the last value that failed the check.

I was going to add this to my own project as an extension, but a consequence of #799 is that it's not "impossible" (not as trivial as before) to add these operators, since things like flatMapEvent and Event.Transformation aren't public.

So I wanted this PR to serve as a conversation. I think this operator can be useful, but also it might be worth exploring how we can make it easier to declare outside of ReactiveSwift, maybe exposing some of these new types?

Checklist

  • Updated CHANGELOG.md.
pull request

andersio merge to ReactiveCocoa/ReactiveSwift

andersio
andersio

Add take(until:) operator

Forward any values until shouldContinue returns false, at which point the returned signal forwards the last value and then it completes.

This is equivalent to take(while:), except it also forwards the last value that failed the check.

I was going to add this to my own project as an extension, but a consequence of #799 is that it's not "impossible" (not as trivial as before) to add these operators, since things like flatMapEvent and Event.Transformation aren't public.

So I wanted this PR to serve as a conversation. I think this operator can be useful, but also it might be worth exploring how we can make it easier to declare outside of ReactiveSwift, maybe exposing some of these new types?

Checklist

  • Updated CHANGELOG.md.
Oct
8
1 month ago
push

andersio push ReactiveCocoa/ReactiveSwift

andersio
andersio

SUPPORTS_MACCATALYST (#840)

Co-authored-by: Anders Ha [email protected]

commit sha: 8c5bb1e7a862ba3aa5d763539dd6647d301527d6

push time in 1 month ago
pull request

andersio pull request ReactiveCocoa/ReactiveSwift

andersio
andersio

SUPPORTS_MACCATALYST

Checklist

  • Updated CHANGELOG.md.

This is necessary to build with the future version of Carthage.

Oct
5
2 months ago
push

andersio push NachoSoto/ReactiveSwift

andersio
andersio

Signal.Event: changed to @frozen (#841)

This enum isn't expected to change. It's important to mark it as @frozen so that clients don't get warnings whem compiling with BUILD_LIBRARY_FOR_DISTRIBUTION, which might be required in a future version of Carthage supporting Catalyst. (See https://github.com/Carthage/Carthage/pull/3235).

andersio
andersio

Merge branch 'master' into catalyst

commit sha: 97f621417537cf7e591314b129b437da84f119c3

push time in 2 months ago
push

andersio push ReactiveCocoa/ReactiveSwift

andersio
andersio

Signal.Event: changed to @frozen (#841)

This enum isn't expected to change. It's important to mark it as @frozen so that clients don't get warnings whem compiling with BUILD_LIBRARY_FOR_DISTRIBUTION, which might be required in a future version of Carthage supporting Catalyst. (See https://github.com/Carthage/Carthage/pull/3235).

commit sha: e3916d7001de72e2990feffbf7e1d7835907d4e8

push time in 2 months ago
pull request

andersio pull request ReactiveCocoa/ReactiveSwift

andersio
andersio

Signal.Event: changed to `@frozen`

This enum isn't expected to change. It's important to mark it as @frozen so that clients don't get warnings whem compiling with BUILD_LIBRARY_FOR_DISTRIBUTION, which might be required in a future version of Carthage supporting Catalyst. (See https://github.com/Carthage/Carthage/pull/3235).

Checklist

  • Updated CHANGELOG.md.
Activity icon
issue

andersio issue comment ReactiveCocoa/ReactiveSwift

andersio
andersio

Signal.Event: changed to `@frozen`

This enum isn't expected to change. It's important to mark it as @frozen so that clients don't get warnings whem compiling with BUILD_LIBRARY_FOR_DISTRIBUTION, which might be required in a future version of Carthage supporting Catalyst. (See https://github.com/Carthage/Carthage/pull/3235).

Checklist

  • Updated CHANGELOG.md.
andersio
andersio

It looks like by Library Evolution rules, adding or removing @frozen is always ABI breaking. So this would require a major version bump.

pull request

andersio merge to ReactiveCocoa/ReactiveSwift

andersio
andersio

Signal.Event: changed to `@frozen`

This enum isn't expected to change. It's important to mark it as @frozen so that clients don't get warnings whem compiling with BUILD_LIBRARY_FOR_DISTRIBUTION, which might be required in a future version of Carthage supporting Catalyst. (See https://github.com/Carthage/Carthage/pull/3235).

Checklist

  • Updated CHANGELOG.md.
Sep
7
3 months ago
push

andersio push thii/ReactiveCocoa

andersio
andersio

Use preferred AnyObject keyword (#3726)

  • Use preferred AnyObject keyword

  • Update CHANGELOG.md

  • Update CHANGELOG.md

Co-authored-by: Anders Ha [email protected]

andersio
andersio

Update Carthage xcconfigs to 1.1 (#3728)

  • Update Carthage xcconfigs to 1.1

  • Use macOS configurations directly over aliased Mac OS X

  • Update ReactiveSwift to 6.6.1

  • Update Quick to 4.0.0 and Nimble to 9.2.0

  • Disable treating Swift and C warnings as errors

  • Sort source files by type and name

  • Update deprecated global priority dispatch queue syntax

  • Remove redundant base SDK Xcode configuration

Provided by Xcode.

  • Remove duplicating bitcode Xcode configuration

This is already provided by Xcode defaults.

  • Clean up Xcode code signing configuration

  • Remove duplicating runpath search paths Xcode configuration

This is already provided by xcconfigs.

andersio
andersio

Merge branch 'master' into fix-broken-filenames

commit sha: 4efca8505850d938e28e3d0dd0b507570fd826ac

push time in 2 months ago
Activity icon
published release 11.2.2

andersio in ReactiveCocoa/ReactiveCocoa create published release 11.2.2

createdAt 2 months ago
Activity icon
created tag
createdAt 2 months ago
Next