All Projects → AckeeCZ → ACKReactiveExtensions

AckeeCZ / ACKReactiveExtensions

Licence: MIT license
Set of useful extensions for ReactiveSwift & ReactiveCocoa

Programming Languages

swift
15916 projects
objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to ACKReactiveExtensions

Ios Oss
Kickstarter for iOS. Bring new ideas to life, anywhere.
Stars: ✭ 7,840 (+46017.65%)
Mutual labels:  reactiveswift, reactivecocoa
YoutubeEngine
Swift ReactiveCocoa lib for Youtube api
Stars: ✭ 24 (+41.18%)
Mutual labels:  reactiveswift, reactivecocoa
Reactivecocoa
Cocoa framework and Obj-C dynamism bindings for ReactiveSwift.
Stars: ✭ 20,013 (+117623.53%)
Mutual labels:  reactiveswift, reactivecocoa
Moya-Gloss
Gloss bindings for Moya
Stars: ✭ 37 (+117.65%)
Mutual labels:  reactiveswift, reactivecocoa
MVVM-Sample
Swift MVVM Sample project. Made with ReactiveCocoa, Swinject and Routers
Stars: ✭ 21 (+23.53%)
Mutual labels:  reactiveswift
Reactivecocoacatalog
UI Catalog for ReactiveCocoa.
Stars: ✭ 59 (+247.06%)
Mutual labels:  reactivecocoa
Mwwm Rac
Stars: ✭ 45 (+164.71%)
Mutual labels:  reactivecocoa
Wechat
🔥 iOS 利用MVVM + RAC + ViewModel-Based Navigation来搭建微信(WeChat 7.0.0+)的整体基本架构,以及实现微信朋友圈、通讯录、下拉小程序、搜索等主要功能,代码规范惊为天人、注释详解令人发指、细节处理精益求精、核心功能配备文档、接近98%还原度的原生App视觉体验,代码不多,注释多。(持续更新,敬请期待,欢迎Star和Fork…)
Stars: ✭ 870 (+5017.65%)
Mutual labels:  reactivecocoa
minimalist
Observable Property and Signal for building data-driven UI without Rx
Stars: ✭ 88 (+417.65%)
Mutual labels:  reactiveswift
Open Source Ios Apps
📱 Collaborative List of Open-Source iOS Apps
Stars: ✭ 28,826 (+169464.71%)
Mutual labels:  reactiveswift
Zhuishushenqi
追书神器Swift版客户端(非官方)。 不断更新中......
Stars: ✭ 196 (+1052.94%)
Mutual labels:  reactivecocoa
Reactivecocoa use
RAC的基础用法,提高开发效率
Stars: ✭ 89 (+423.53%)
Mutual labels:  reactivecocoa
Kickstarter Reactiveextensions
A collection of extensions to the ReactiveSwift framework.
Stars: ✭ 183 (+976.47%)
Mutual labels:  reactivecocoa
Kzmooncommand
🔥 An awesome command for async operation with ReactiveCocoa
Stars: ✭ 164 (+864.71%)
Mutual labels:  reactivecocoa
Mvvmdemo
MVVMDemo With ReactiveCocoa
Stars: ✭ 60 (+252.94%)
Mutual labels:  reactivecocoa
Redux Reactiveswift
Redux implementation over ReactiveSwift
Stars: ✭ 28 (+64.71%)
Mutual labels:  reactivecocoa
Reactiveautomaton
🤖 ReactiveCocoa + State Machine, inspired by Redux and Elm.
Stars: ✭ 205 (+1105.88%)
Mutual labels:  reactivecocoa
Moya Modelmapper
ModelMapper bindings for Moya.
Stars: ✭ 143 (+741.18%)
Mutual labels:  reactivecocoa
Moya
Network abstraction layer written in Swift.
Stars: ✭ 13,607 (+79941.18%)
Mutual labels:  reactiveswift
Reactiveswift
Streams of values over time
Stars: ✭ 2,812 (+16441.18%)
Mutual labels:  reactiveswift

ackee|ACKReactiveExtensions

Build Version License Platform

ACKReactiveExtensions

ACKReactiveExtensions is set of useful extensions for ReactiveCocoa you could use in your apps.

Currently we have extensions for

If you'd love to have more extensions available just open an issue or even better create a pull request!

Installation

ACKReactiveExtensions is available through CocoaPods. Simply add the following line to your Podfile:

pod "ACKReactiveExtensions"

Subspecs

By using pod "ACKReactiveExtensions" you will get only general and UIKit extensions but there are also subspecs you can like/need.

pod 'ACKReactiveExtensions/AlamofireImage'
pod 'ACKReactiveExtensions/Argo'
pod 'ACKReactiveExtensions/Marshal'
pod 'ACKReactiveExtensions/Reachability'
pod 'ACKReactiveExtensions/Realm'
pod 'ACKReactiveExtensions/SDWebImage'
pod 'ACKReactiveExtensions/WebKit'

These subspecs mostly require aditional dependencies (as Argo or Reachability) and you could not need it for your project. That's why it is separated to subspecs.

Usage

Usage is really simple, ACKReactiveExtensions contains just more extensions for ReactiveSwift's Reactive struct so it can be used on more objects.

let imageURL: Property<URL> = ...
let imageView = UIImageView()

imageView.reactive.imageURL <~ imageURL

Mapping extensions

ACKReactiveExtensions contains reactive mapping extensions for following libraries. See their page for more information.

Mapping configuration

In general we are against mapping objects on main thread (and you should be too), but you know, you only live once so we still give you the opportunity to do so. By default our mapping extensions allow this behavior but if you want to restrict that, you can do that by setting a configuration variable.

ACKReactiveExtensionsConfiguration.allowMappingOnMainThread = false

From now on the mapping extensions will expect to be called on background thread, but don't worry, we use asserts so your production users are safe from crashing if somehow things don't go as good as expected.

UITextField/UITextView two way binding

ACKReactiveExtensions contains special <~> two way binding operator which will create binding between MutableProperty and your UITextField/UITextView.

Until now all those bindings looked like this

let textProperty: MutableProperty<String?> ...
let textField: UITextField ...

textField.reactive.text <~ textProperty
textProperty <~ textField.reactive.continousTextValues

From now on you can use the <~> operator

textProperty <~> textField

The <~> operator is commutative so the order of operands doesn't matter.

Author

Ackee team

License

ACKategories is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].