Yalantis/Pull-to-Refresh.Rentals-iOS
소개
간단하고 사용자 지정 가능한 당겨서 새로고침 기능을 제공합니다. Yalantis에서 제작했습니다.
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -2
- in 1 month
- -4
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalPull-to-Refresh.Rentals-IOS
This project aims to provide a simple and customizable pull to refresh implementation.
Check this [project on Dribbble] (https://dribbble.com/shots/1650317-Pull-to-Refresh-Rentals)
Check this [project on Behance] (https://www.behance.net/gallery/20411445/Mobile-Animations-Interactions)

#Installing with CocoaPods
pod 'Pull-to-Refresh.Rentals-IOS', '~> 1.0'
#Usage
For a working implementation, Have a look at the Sample Project - sample
- Add folder YALSunnyRefreshControll to your project.
- Implement header and setup YALSunnyRefreshControl as a property.
- Init and associate YALSunnyRefreshControl with your UITableView or UICollectionView.
- Add images from Images.xcassets folder in Sample Project.
#import "YALSunnyRefreshControl.h"
@property (nonatomic,strong) YALSunnyRefreshControl *sunnyRefreshControl;
- (void)viewDidLoad {
[super viewDidLoad];
[self setupRefreshControl];
}
- (void)setupRefreshControl{
self.sunnyRefreshControl = [YALSunnyRefreshControl new];
[self.sunnyRefreshControl addTarget:self
action:@selector(sunnyControlDidStartAnimation)
forControlEvents:UIControlEventValueChanged];
[self.sunnyRefreshControl attachToScrollView:self.tableView];
}
- (void)sunnyControlDidStartAnimation{
// start loading something
}
- (IBAction)endAnimationHandle{
[self.sunnyRefreshControl endRefreshing];
}
#Customization
To customize drawables you can change:
- sun.png - Sun image
- sky.png - background image
- buildings.png - foreground image
#Compatibility
- IOS 7-9
Changelog
Version: 1.0
- Initial Build
Let us know!
We’d be really happy if you send us links to your projects where you use our component. Just send an email to [email protected] And do let us know if you have any questions or suggestion regarding the animation.
P.S. We’re going to publish more awesomeness wrapped in code and a tutorial on how to make UI for iOS (Android) better than better. Stay tuned!
License
Copyright 2017, Yalantis
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
관련 프로젝트 살펴보기
불러오는 중…
