• Stars
    star
    302
  • Rank 138,030 (Top 3 %)
  • Language
    Swift
  • License
    ISC License
  • Created almost 8 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Swift framework for reactive programming.

CwlSignal

An implementation of reactive programming. For details, see the article on Cocoa with Love, CwlSignal, a library for reactive programming.

NOTE: the CwlSignal.playground mentioned in the article is currently absent from the repository. A complication around putting playgrounds inside packages needs to be resolved, then it will be restored.

Adding to your project

The CwlSignal library requires the Swift Package Manager. Minimum requirements are iOS 8 or macOS 10.10 and Swift 5.0.

Add the following to the dependencies array in your "Package.swift" file:

.package(url: "https://github.com/mattgallagher/CwlSignal.git", from: Version(3, 0, 0)),

NOTE: even though this git repository includes its dependencies in the Dependencies folder, building via the Swift Package manager fetches and builds these dependencies independently.

CocoaPods and Carthage

Up to version 2.2.0, this library supported CocoaPods and Carthage. If you wish to use these package managers, you can check out the CwlSignal 2.2.0 tag.

More Repositories

1

AudioStreamer

A streaming audio player class (AudioStreamer) for Mac OS X and iPhone.
Objective-C
1,935
star
2

CwlUtils

A collection of Swift utilities as documented on cocoawithlove.com
Swift
598
star
3

CwlPreconditionTesting

A Mach exception handler that allows Swift precondition failures to be caught and tested.
Swift
168
star
4

CwlViews

Wrappers around AppKit and UIKit, turning them into declarative, reactive-driven frameworks.
Swift
167
star
5

CwlDemangle

An implementation of Swift mangled symbol parsing and demangled printing in Swift.
Swift
114
star
6

CombineExploration

Some tests and sample code that explore a few behaviors of Apple's Combine framework.
Swift
105
star
7

Clocks

An iOS world-time app written in Swift to demonstrate the benefits of treating view-state as a separate model.
Swift
100
star
8

CocoaWithLovePlaygrounds

Swift Playground versions of select articles from Cocoa with Love.
Swift
88
star
9

CwlFeedReader

A JSON feed reader used in the App architecture basics in SwiftUI series on CocoaWithLove.com
Swift
32
star
10

Mines

A half-hearted minesweeper implementation from Mac OS 8, resurrected for macOS Sierra.
C++
31
star
11

CwlWhitespace

A whitespace policing source command extension for Xcode 8.
Swift
26
star
12

CwlWorstPossibleApplication

A Minesweeper clone in Swift deliberately implemented without a separated Model.
Swift
19
star
13

CwlCatchException

Catch Objective-C exceptions by NSException subtype in a Swift closure/function.
Swift
15
star
14

Playgrounds2017

Code used during my talk at the Playgrounds Conference held in Melbourne, Feb 2017.
Swift
6
star