• This repository has been archived on 02/Jul/2023
  • Stars
    star
    165
  • Rank 228,906 (Top 5 %)
  • Language
    Swift
  • License
    MIT License
  • Created about 8 years ago
  • Updated over 4 years ago

Reviews

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

Repository Details

rx-sample-code

Demo 列表

Stopwatch

仿 Apple 计时器逻辑,使用了 MVVM 和状态机,代码仅 200 行。

PDF-Expert-Contents

仿 PDF Expert 目录展开逻辑,支持无限层级展开。

Expandable

如何在 iOS 中实现一个可展开的 Table View 一文的 Demo ,用 Rx 重写。

RxDataSourcesExample

RxDataSources 基本使用例子。

SelectCell

更新 Cell 选择状态例子,如选择联系人(单选/多选)。

这是一种单选的方案,另外一种可以参见 TwoWayBind 中的 SelectPayment ,根据具体情况选择使用哪种方案。个人推荐本例中的选择联系人方案。

TwoWayBind

内含:

  • 加减购物车
  • 选择支付方式
  • 更改带组分类的推送设置

如何运行

项目依赖使用 Carthage 管理。

参考命令:

carthage update --verbose --platform ios --color auto --no-use-binaries

期待其他 Demo 或者对代码有什么疑问或者建议,欢迎提 issue ,我会尽快回复。

License

MIT

More Repositories

1

TransitionTreasury

Easier way to push your viewController.
Swift
2,088
star
2

Flix

iOS reusable form library in Swift.
Swift
727
star
3

LearnRxSwift

Swift
492
star
4

DQKFreezeWindowView

A freeze window effect view for iOS
Objective-C
360
star
5

TrelloNavigation

https://dribbble.com/shots/2114816-Trello-Navigation
Swift
118
star
6

uuplugin

UU 加速插件 docker 版本
Dockerfile
87
star
7

GroupTableSeparatorFix

Swift
65
star
8

DevOnPods

Ruby
61
star
9

HybridDemo

A hybrid project for iOS, Vue and React.
Swift
40
star
10

RouterBuilder

Swift
33
star
11

Sketch2Code

Swift
24
star
12

magisk-wireguard-auto-connect

Auto turn on and off WireGuard by using the ip monitor command. Turn it off when you are home and on when you are away.
Shell
19
star
13

LTOGlobalMachineOutliner

Ruby
13
star
14

FuckKeyboard

Deal the fuck keyboard
Objective-C
13
star
15

Router

Swift
12
star
16

ruslin-android

A simple notes application that supports syncing notes using a self-hosted Joplin server.
Kotlin
11
star
17

rx-redux-sample-code

Swift
9
star
18

RxSwiftTreeSelect

Swift
9
star
19

RxLogger

Swift
8
star
20

MeetRxSwift

Swift
8
star
21

wechat-archive

微信归档
Rust
7
star
22

StuQ-RxSwift

Swift
7
star
23

debug-ipa

Shell
6
star
24

RxExtensions

Swift
6
star
25

UploadImageDemo

Swift
6
star
26

openconnect-snell

Dockerfile
5
star
27

miui_push_device_fake

Shell
4
star
28

RefreshSingleCell

Swift
4
star
29

ld64-build

Makefile
4
star
30

SwiftDebug

打造一个愉快的 Swift Debug 控制台
Swift
4
star
31

Use-popToViewController

Swift
4
star
32

change-mach-o-symbol

C
4
star
33

Expandable

http://7xokf3.com1.z0.glb.clouddn.com/Demo.mov
Swift
3
star
34

UMengAnalytics-NO-IDFA-Module

Ruby
3
star
35

HAP-IR-Demo

Swift
3
star
36

my_slack_bot_demo

Python
3
star
37

nix-on-termux-bootstrap

Shell
2
star
38

ft9201fingerprint-nix

Nix
2
star
39

dianqk.blog

2
star
40

StudyUnwindSegue

Swift
2
star
41

TwoWayBind

Swift
1
star
42

errorOnNil

Swift
1
star
43

SectionSelect

Swift
1
star
44

GMTC-Swift-on-Pi

Swift
1
star
45

unseenmail

Notify via ntfy when unseen new emails arrive
Rust
1
star
46

DianQK

1
star
47

UseStaticFramework

Ruby
1
star
48

reproduce_outlined_function_use_live_x0

https://reviews.llvm.org/D112911
Objective-C
1
star
49

Happy-Hacking-Web

JavaScript
1
star