alexdrone / Utility
Assign/Partial/ReadOnly/Proxy
Stars: ✭ 31
Programming Languages
swift
15916 projects
Labels
Projects that are alternatives of or similar to Utility
Observable Slim
Observable Slim is a singleton that utilizes ES6 Proxies to observe changes made to an object and any nested children of that object. It is intended to assist with state management and one-way data binding.
Stars: ✭ 178 (+474.19%)
Mutual labels: observable, proxy
Icaro
Smart and efficient javascript object observer, ideal for batching DOM updates (~1kb)
Stars: ✭ 568 (+1732.26%)
Mutual labels: observable, proxy
vana
Observe your immutable state trees 🌲👀 (great with React)
Stars: ✭ 24 (-22.58%)
Mutual labels: immutable, observable
Dob
Light and fast 🚀 state management tool using proxy.
Stars: ✭ 713 (+2200%)
Mutual labels: observable, proxy
Observable Membrane
A Javascript Membrane implementation using Proxies to observe mutation on an object graph
Stars: ✭ 315 (+916.13%)
Mutual labels: immutable, proxy
Observer Util
Transparent reactivity with 100% language coverage. Made with ❤️ and ES6 Proxies.
Stars: ✭ 905 (+2819.35%)
Mutual labels: observable, proxy
Proxychains Ng
proxychains ng (new generation) - a preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies. continuation of the unmaintained proxychains project. the sf.net page is currently not updated, use releases from github release page instead.
Stars: ✭ 7,553 (+24264.52%)
Mutual labels: proxy
Simple Traefik Proxy And Services
Get your own services running - within just a few minutes and with automatic SSL.
Stars: ✭ 21 (-32.26%)
Mutual labels: proxy
Shadowsocks Php
A php port of shadowsocks based on workerman. A socks5 proxy written in PHP.
Stars: ✭ 869 (+2703.23%)
Mutual labels: proxy
Arbitrium Rat
Arbitrium is a cross-platform, fully undetectable remote access trojan, to control Android, Windows and Linux and doesn't require any firewall exceptions or port forwarding rules
Stars: ✭ 938 (+2925.81%)
Mutual labels: proxy
Immutable Tuple
Immutable finite list objects with constant-time equality testing (===) and no memory leaks.
Stars: ✭ 29 (-6.45%)
Mutual labels: immutable
Concent
State management that tailored for react, it is simple, predictable, progressive and efficient.
Stars: ✭ 882 (+2745.16%)
Mutual labels: proxy
New Pac
翻墙-科学上网、免费翻墙、免费科学上网、免费自由上网、fanqiang、翻墙梯子、免费软件/方法,一键翻墙浏览器,免费shadowsocks/ss/ssr/v2ray/goflyway账号/节点分享,vps一键搭建翻墙服务器脚本/教程,电脑、手机、iOS、安卓、windows、Mac、Linux、路由器翻墙
Stars: ✭ 31,869 (+102703.23%)
Mutual labels: proxy
Read Multiple Files
Read multiple files Observable way
Stars: ✭ 13 (-58.06%)
Mutual labels: observable
Observableadapter
RecyclerView Adapter for RxJava, separates collection model from Android framework dependencies
Stars: ✭ 15 (-51.61%)
Mutual labels: observable
Citadelcore
Cross platform filtering HTTP/S proxy based on .NET Standard 2.0.
Stars: ✭ 28 (-9.68%)
Mutual labels: proxy
Utility
Assign
This function is used to copy the values of all enumerable own properties from one or more source struct to a target struct. If the argument is a reference type the same refence is returned.
public func assign<T>(_ value: T, changes: (inout T) -> Void) -> T
Partial
Constructs a type with all properties of T set to optional. This utility will return a type that represents all subsets of a given type.
struct Todo { var title: String; var description: String }
var partial = Partial { .success(Todo(
title: $0.get(\Todo.title, default: "Untitled"),
description: $0.get(\Todo.description, default: "No description")))
}
partial.title = "A Title"
partial.description = "A Description"
var todo = try! partial.build().get()
partial.description = "Another Descrition"
todo = partial.merge(&todo)
ReadOnly
Constructs a type with all properties of T set to readonly, meaning the properties of the constructed type cannot be reassigned. Note: A read-only object propagetes observable changes from its wrapped object.
struct Todo { var title: String; var description: String }
let todo = Todo(title: "A Title", description: "A Description")
let readOnlyTodo = ReadOnly(todo)
readOnlyTodo.title // "A title"
Proxy
Creates an observable Proxy for the object passed as argument.
struct Todo { var title: String; var description: String }
let todo = Todo(title: "A Title", description: "A Description")
let proxy = Proxy(todo)
proxy.propertyDidChange.sink {
if $0.match(keyPath: \.title) {
...
}
}
proxy.title = "New Title"
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].