Need help with FNMatchPull?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

Fnoz
402 Stars 46 Forks MIT License 32 Commits 2 Opened issues

Description

Swift实现的火柴图案&火柴文字下拉刷新动效(超炫酷下拉刷新),Swift&加强版本CBStoreHouseRefreshControl.

Services available

!
?

Need anything else?

Contributors list

# 75,803
Objecti...
Swift
macOS
Xcode
22 commits
# 69,938
Objecti...
alfred
wechat
esoteri...
6 commits
# 1,844
image-f...
assembl...
netfram...
residua...
1 commit

FNMatchPull Supported Platforms Latest pod release Build Status License

A match character and pattern refresh control by Swift based in CBStoreHouseRefreshControl.

Simplified Chinese is here 简体中文.

Installation

Installing FNMatchPull by CocoaPods.

pod 'FNMatchPull', '~> 0.2'

Demo:

Style = .Pattern

Animation can be created by points.

let matchAnimator = FNMatchPullAnimator(frame: CGRectMake(0, 0, 320, 80))
matchAnimator.startPoints = [NSValue.init(CGPoint: CGPointMake(SCREENWIDTH/2 - 30, 25)),
                             NSValue.init(CGPoint: CGPointMake(SCREENWIDTH/2 - 30, 55))]
matchAnimator.endPoints = [NSValue.init(CGPoint: CGPointMake(SCREENWIDTH/2 - 15 - 30, 40)),
                           NSValue.init(CGPoint: CGPointMake(SCREENWIDTH/2 - 15 - 30, 40))]
tableView.addPullToRefreshWithAction({
    //refresh action
    }, withAnimator: matchAnimator)

Style = .Text

Animation can be created by English letters. Line width can be defined by yourself.

let matchAnimator = FNMatchPullAnimator(frame: CGRectMake(0, 0, 320, 80))
matchAnimator.text = "FNOZ"
matchAnimator.lineWidth = 4.0
matchAnimator.style = .Text
tableView.addPullToRefreshWithAction({
    //refresh action
    }, withAnimator: matchAnimator)

Effect:

Animating Animating

Animating

Source:

The Objective-C edition is CBStoreHouseRefreshControl by coolbeet. Our FNMatchPull can transfer English letters to pattern direclty.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.