Skip to content

cristhianleonli/MvRx

Repository files navigation

MvRx

A description of this package.

func test_elementCount() {
	let model = ViewModel()
	model.increaseCount(by: 1)

	let count = model.stateOf {
		$0.elementCount
	}

	let result = try? count
		.toBlocking()
		.first()

	XCTAssertEqual(result, 1)
}

About

Reactive way to use MVVM using RxSwift

Resources

Stars

Watchers

Forks

Languages