프로젝트
GitHub에서 보기
samhann/Loader.swift
소개
Add a facebook news feed style animation for your placeholder views
창작 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalLoader.Swift
This library allows you to easily add an FB style animated loading placeholder to your tableviews or collection views.

Usage
Loader.addLoaderToTableView(self.tableView) // to add
Loader.removeLoaderFromTableView(self.tableView) // to remove
How it works
It adds an animated gradient to the content views of the visible cells. After that it inserts a cutout view wherever all the other views are with "holes" where all the text and image views are. The alphas of all the text and image views are set to zero.
This is undone when you remove the loader.
Credits
Props to the excellent deconstruction of the news feed loader here: http://cloudcannon.com/deconstructions/2014/11/15/facebook-content-placeholder-deconstruction.html
관련 프로젝트 살펴보기
불러오는 중…