cyndibaby905/TwitterCover
关于
TwitterCover 为任意 UIScrollView 提供带实时模糊效果的视差顶部视图,灵感来自 iOS 版 Twitter。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- -1
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文TwitterCover
TwitterCover is a parallax top view with real time blur effect to any UIScrollView, inspired by Twitter for iOS.
Completely created using UIKit framework.
Easy to drop into your project.
You can add this feature to your own project, TwitterCover is easy-to-use.
Now the Android version is also available: TwitterCover-Android
Requirements
TwitterCover requires Xcode 5, targeting either iOS 5.0 and above, ARC-enabled.
How to use
Drag UIScrollView+TwitterCover.h amd UIScrollView+TwitterCover.m files to your project.
No other frameworks required.
#import "UIScrollView+TwitterCover.h"
UIScrollView *scrollView = [[UIScrollView alloc] initWithFrame:self.view.bounds];
[scrollView addTwitterCoverWithImage:[UIImage imageNamed:@"cover.png"]];
And do not forget to remove it in your dealloc method, otherwise memory leaks:
[scrollView removeTwitterCoverView];
How it looks
![TwitterCover] (https://raw.github.com/cyndibaby905/TwitterCover/master/TwitterCover.gif)
Lincense
TwitterCover is available under the MIT license. See the LICENSE file for more info.
探索相关项目
加载中…