spotify / Mobius.swift

A functional reactive framework for managing state evolution and side-effects [Swift implementation]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Import instructions

Gargo opened this issue · comments

commented

When I import your library as package it suggests MobiusCore, MobiusExtras, MobiusNimble and MobiusTest. Which ones should import?

At a minimum you will need to import MobiusCore into your app's target. MobiusExtras contains some convenience types and functions that you may want to leverage, but it is optional.

Assuming you are writing tests, you will want to import MobiusTest into your unit test target. If you are already using Nimble in your tests, importing MobiusNimble will provide matchers/predicates that make it easier to evaluate your Mobius logic.