tigerandbull / tabanimated Goto Github PK
View Code? Open in Web Editor NEWA skeleton screen loading framework based on native for iOS. (一个由iOS原生组件映射出骨架屏的框架,包含快速植入,低耦合,兼容复杂视图等特点,提供国内主流骨架屏动画的加载方案,同时支持上拉加载更多、自定制动画。)
License: MIT License
A skeleton screen loading framework based on native for iOS. (一个由iOS原生组件映射出骨架屏的框架,包含快速植入,低耦合,兼容复杂视图等特点,提供国内主流骨架屏动画的加载方案,同时支持上拉加载更多、自定制动画。)
License: MIT License
RT 背景颜色如何修改 默认白色 我黑色想用
RxSwift的TabView的tableView.rx.items冲突导致程序崩溃
奔溃代码 UITableView+TABAnimated.h 105行 [self tab_numberOfSectionsInTableView:tableView]
pod 不到最新版本
rt
能否只关闭某一个子视图的骨架或者改变某一个视图骨架的颜色
hey is this usable with swift? I'd appreciate it if provided with a sample project
不知到作者能否提供一下对Carthage依赖管理的支持
使用闪光灯模式,然后停止动画的时候,label的动画是正常的,但是闪光灯动画一直在;
我看更新记录,你说闪光灯模式所有子控件都会设置TABViewLoadAnimationWithOnlySkeleton,那TABViewLoadAnimationShort和TABViewLoadAnimationLong是不是会不起作用?我用了,这两种是起作用的,demo里闪光灯模式也是不起作用,不知什么原因
如题,我在一个view上使用了您的骨架屏,点击按钮会弹出含有骨架屏的view,第一次点击会出现骨架。再点击另一个按钮,弹出视图不会再次加载骨架屏。我已经把canLoadAgain设置为yes。还是不行。请问有没有方法可以让他再次开启骨架屏
// 新回调
tableView.tabAnimated.adjustBlock = ^(TABComponentManager * _Nonnull manager) {
manager.animation(1).down(3).height(12);
manager.animation(2).height(12).width(110);
manager.animation(3).down(-5).height(12);
};
上面这句,TABComponentManager类在库里面没有,adjustBlock这个block也没有找到
在10系统上无效??
[[TABViewAnimated sharedAnimated]initWithShimmerAnimated];
在appDelegate 中设置了动画类型后,所有view单独设置的superAnimationType都无效了。这个优先级是不是太高了。我认为在这里应该是设置一个默认动画类型。
TABViewSuperAnimationTypeDefault
TABViewSuperAnimationTypeClassic
TABViewSuperAnimationTypeOnlySkeleton
这三种动画的效果看起来效果是一样的。是有什么区别么?
说实话,过渡动画制作水准很高,但不太符合集成的一些通用原则。最重要的还是无侵入性、组件化程度要高。直白一点就是列表的过渡动画都有了为什么没有通用的UIView加载的动画?另外控件的最高水准就是无侵入性,也就是项目代码不需任何修改,只要引入头文件就直接发挥作用了。希望您能加以进阶和修改。当然写了总比不写好,像我自知水平有限,所以就干脆什么也不写了,直接找别人的用。😀
在cell 上有的时候 需要显示一些 view 怎么能逃离 这个动画呀,有的view不想显示出来
比如这个“UICollectionView+TABAnimated.h”
[self.tableView registerNib:[UINib nibWithNibName:@"XX" bundle:nil] forCellReuseIdentifier:@"XX"];
self.tableView.tabAnimated = [TABTableAnimated animatedWithCellClass:[XX class]];
log:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'cell reuse indentifier in nib (XIBTableViewCell) does not match the identifier used to register the nib (tab_XIBTableViewCell)'
(1)是否可加设置圆角属性?
(2)是否可选渐变方向?
(3)是否可有消失回调?
demo-功能体现不是很独立,不利于新手使用
tableView关闭预估高度,正常上拉刷新时过渡平滑,但是加上骨架后上拉刷新后会出现上移的问题,不知道是我写的问题还是什么
Demo: https://github.com/xiaopohaiwx/AnimatedDemo.git
只设置了这个全局设置:
[[TABViewAnimated sharedAnimated]initWithShimmerAnimated];
[TABViewAnimated sharedAnimated].animatedColor = tab_kBackColor;
以及TableView的这个属性:
_tableView.animatedStyle = TABTableViewAnimationStart; // 开启动画
tableview.tabAnimated = [TABTableAnimated animatedWithCellClass:[TestAnimateTableViewCell class] cellHeight:100];
tableview.tabAnimated.categoryBlock = ^(UIView * _Nonnull view) {
view.animation(1).down(3).height(12).toShortAnimation();
view.animation(2).height(12).width(110).toLongAnimation();
view.animation(3).down(-5).height(12);
};
不能用于storyboard
我设置了继承自UITableViewHeaderFooterView的headerView,但是没有看见效果,是不支持?
我只想在tableview的tableHeaderView中使用,但是设置上去无用
在viewDidLoadl里我写了如下代码:
self.tableView.tableHeaderView.tabAnimated = TABViewAnimated.new;
[self.tableView.tableHeaderView tab_startAnimation];
但是并没有用,要怎么做才能在 tableView 的 tableHeaderView 中使用
我看Demo中使用场景都是在 固定cell高度的情况,estimatedRowHeight = 0;
不知道是否可以在自适应高度的cell情况使用。
感谢!
iOS10.1上 tableView会直接不显示
demo中报错,包含system颜色都会报找不到这个属性错误,xcode10.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.